|
|||||||||||
| 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.GCopyCommand
This command is to allow third party nodes other than the broker or the compute resource to copy amongst themselves.
| 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 | |
GCopyCommand()
|
|
GCopyCommand(java.lang.String sf,
java.lang.String sn,
java.lang.String df,
java.lang.String dn)
Sets up the GCopyCommand class members |
|
| Method Summary | |
java.lang.String |
getDestinationFile()
Gets the destination file for this copy command. |
java.lang.String |
getDestinationNode()
Gets the destination node for this copy command. |
java.lang.String |
getSourceFile()
Gets the source file for this copy command. |
java.lang.String |
getSourceNode()
Gets the source node for this copy command. |
void |
setDestination(java.lang.String destination)
Set destination location. |
void |
setSource(java.lang.String source)
Set source location. |
| 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 GCopyCommand()
public GCopyCommand(java.lang.String sf,
java.lang.String sn,
java.lang.String df,
java.lang.String dn)
sf - sn - df - dn - | Method Detail |
public void setSource(java.lang.String source)
throws java.lang.RuntimeException
source - where the file will be copied from.
java.lang.RuntimeException - if a hostname is specified and the path of filename starts
with "./"public java.lang.String getSourceFile()
public java.lang.String getSourceNode()
public void setDestination(java.lang.String destination)
throws java.lang.RuntimeException
destination - where the file will be copied to.
java.lang.RuntimeException - if a hostname is specified and the path of filename starts
with "./"public java.lang.String getDestinationFile()
public java.lang.String getDestinationNode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||