|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.service.updatesite.SourceDestination
public class SourceDestination
SourceDestination Class enables to put and take the path source and path destination of a file or a directory and the state of the file
as missing, still installed, will be installed see the wizard of UpdateSite
Field Summary | |
---|---|
static int |
ALREADY_EXIST
Define the type of the file as already present in the destination |
static int |
DONT_EXIST
Define the type of the file as no present in the destination |
static int |
MISSING
Define the type of the file as missing in the source and in the destination |
static int |
NO_STATE
Define the type of the file as no type defined |
Constructor Summary | |
---|---|
SourceDestination(java.lang.String name,
java.lang.String source,
java.lang.String destination)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getDestination()
Returns string of the destination path |
java.io.File |
getDestinationFile()
Returns the destination file |
java.lang.String |
getName()
Returns SourceDestination id |
java.lang.String |
getSource()
Returns string of the source path |
java.io.File |
getSourceFile()
Returns the source file |
int |
getState()
|
void |
setDestination(java.lang.String destination)
Set the destination |
void |
setSource(java.lang.String source)
Set the source |
void |
setSourceDestinationId(java.lang.String name)
Set Source Destiantion Id |
void |
setState(int state)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_STATE
public static final int MISSING
public static final int ALREADY_EXIST
public static final int DONT_EXIST
Constructor Detail |
---|
public SourceDestination(java.lang.String name, java.lang.String source, java.lang.String destination)
name
- : name of the file or of the directorysource
- : source pathdestination
- : destination pathMethod Detail |
---|
public void setSourceDestinationId(java.lang.String name)
name
- : file or repositorypublic void setSource(java.lang.String source)
source
- public void setDestination(java.lang.String destination)
destination
- public java.lang.String getName()
public java.lang.String getSource()
public java.io.File getSourceFile()
public java.lang.String getDestination()
public java.io.File getDestinationFile()
public int getState()
public void setState(int state)
state
- The stateSD to set.
|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.