|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.jobdescription.TaskCommand
org.gridbus.broker.jobdescription.commands.CopyCommand
public class CopyCommand
Represents the copy command of a run file.
| Constructor Summary | |
|---|---|
CopyCommand()
Constructs a CopyCommand and sets its command type. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
getCopyType()
Gets the type of copy command. |
java.lang.String |
getDestination()
Gets the destination location for this copy command. |
int |
getDestinationLocation()
|
java.lang.String |
getSource()
Gets the source location for this copy command. |
int |
getSourceLocation()
|
int |
getType()
Gets which type of command this is. |
boolean |
isDestinationRemote()
Deprecated. |
static boolean |
isLocationRemote(java.lang.String url)
If a url starts with a protocol which is one of: http:, https:, ftp:, gsiftp:, srb: it is considered REMOTE. |
boolean |
isSourceRemote()
Deprecated. |
void |
setDestination(int destLocation,
java.lang.String destination)
|
void |
setSource(int srcLocation,
java.lang.String source)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CopyCommand()
| Method Detail |
|---|
public void setSource(int srcLocation,
java.lang.String source)
srcLocation - (One of the LocationType constants)source - public java.lang.String getSource()
public boolean isSourceRemote()
public void setDestination(int destLocation,
java.lang.String destination)
destLocation - (One of the LocationType constants)destination - public java.lang.String getDestination()
public boolean isDestinationRemote()
public java.lang.String toString()
toString in class TaskCommandObject.toString()public int getDestinationLocation()
public int getSourceLocation()
public int getCopyType()
CopyTypepublic int getType()
TaskCommand
getType in class TaskCommandpublic java.lang.Object clone()
clone in class TaskCommandpublic static boolean isLocationRemote(java.lang.String url)
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||