|
Administration Tools | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.service.updatesiteproject.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 |
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 |
static int |
STILL_EXIST
Define the type of the file as still present in the destination |
Constructor Summary | |
---|---|
SourceDestination(java.lang.String name,
java.lang.String source,
java.lang.String destination)
Constructor |
|
SourceDestination(java.lang.String name,
java.lang.String source,
java.lang.String destination,
int state)
Constructor with the state of file |
Method Summary | |
---|---|
java.lang.String |
getDestination()
Returns string of the destination path |
java.lang.String |
getName()
Returns SourceDestination id |
java.lang.String |
getSource()
Returns string of the source path |
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 stateSD)
|
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 STILL_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 pathpublic SourceDestination(java.lang.String name, java.lang.String source, java.lang.String destination, int state)
name
- source
- destination
- state
- Method 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.lang.String getDestination()
public int getState()
public void setState(int stateSD)
stateSD
- 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.