|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.gridbus.broker.runfile.TaskCommand
|
+--org.gridbus.broker.runfile.CopyCommand
Represents the copy command of a run file.
| Field Summary |
| Fields inherited from class org.gridbus.broker.runfile.TaskCommand |
COPY_CMD, EXECUTE_CMD, GCOPY_CMD, MCOPY_CMD, REMOTE_EXECUTE_CMD, SUBSTITUTE_CMD, TEST_CMD, UNKNOWN_CMD |
| Constructor Summary | |
CopyCommand()
Constructs a CopyCommand and sets its command type. |
|
| Method Summary | |
java.lang.String |
getDestination()
Gets the destination location for this copy command. |
java.lang.String |
getSource()
Gets the source location for this copy command. |
boolean |
isDestinationPathRelative()
|
boolean |
isDestinationRemote()
Checks whether the destination location is remote. |
boolean |
isSourcePathRelative()
|
boolean |
isSourceRemote()
Checks whether the source location is remote. |
void |
setDestination(boolean isLocal,
java.lang.String destination,
boolean useRelativePath)
|
void |
setDestination(java.lang.String destination)
Sets the destination location for this copy command. |
void |
setDestinationPathRelative(boolean destRelative)
|
void |
setDestinationRemote(boolean destRemote)
|
void |
setSource(boolean isLocal,
java.lang.String source,
boolean useRelativePath)
|
void |
setSource(java.lang.String source)
Sets the source location for this copy command. |
void |
setSourcePathRelative(boolean srcRelative)
|
java.lang.String |
toString()
|
| Methods inherited from class org.gridbus.broker.runfile.TaskCommand |
findType, getType, setType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CopyCommand()
| Method Detail |
public void setSource(java.lang.String source)
source - where the file will be copied from.
public void setSource(boolean isLocal,
java.lang.String source,
boolean useRelativePath)
isLocal - source - useRelativePath - public java.lang.String getSource()
public boolean isSourceRemote()
public void setDestination(java.lang.String destination)
destination - where the file will be copied to.
public void setDestination(boolean isLocal,
java.lang.String destination,
boolean useRelativePath)
isLocal - destination - useRelativePath - public java.lang.String getDestination()
public boolean isDestinationRemote()
public boolean isDestinationPathRelative()
public void setDestinationPathRelative(boolean destRelative)
destRelative - public void setDestinationRemote(boolean destRemote)
destRemote - public boolean isSourcePathRelative()
public void setSourcePathRelative(boolean srcRelative)
srcRelative - public java.lang.String toString()
toString in class TaskCommandObject.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||