|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.runfile.TaskCommand
org.gridbus.broker.runfile.MCopyCommand
Represent a multiple file copy of a run file. Within the runfile, command is 'mcopy source destination'. The source can be one file or a wildcard pattern matching many. The source MUST be local (ie on the node) so the pattern can be matched via 'ls' or similar. The destination MUST be a directory.
| Field Summary |
| Fields inherited from class org.gridbus.broker.runfile.TaskCommand |
COPY_CMD, EXECUTE_CMD, GCOPY_CMD, MCOPY_CMD, REMOTE_EXECUTE_CMD, SUBSTITUTE_CMD, UNKNOWN_CMD |
| Constructor Summary | |
MCopyCommand()
|
|
| 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 |
isDestinationRemote()
Checks whether the destination location is remote. |
void |
setDestination(java.lang.String destination)
Sets the destination location for this copy command. |
void |
setSource(java.lang.String source)
Set source location (must be local, so must be 'node:xxx') |
| Methods inherited from class org.gridbus.broker.runfile.TaskCommand |
findType, getType, setType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MCopyCommand()
| Method Detail |
public void setSource(java.lang.String source)
throws java.lang.RuntimeException
source - where the file will be copied from - must be local.
java.lang.RuntimeException - if "node:" in not in 'source'public java.lang.String getSource()
public void setDestination(java.lang.String destination)
destination - where the file will be copied to.public java.lang.String getDestination()
public boolean isDestinationRemote()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||