|
||||||||||
| 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.ExecuteCommand
public class ExecuteCommand
Represents the execute command of a run file.
| Constructor Summary | |
|---|---|
ExecuteCommand()
|
|
| Method Summary | |
|---|---|
void |
addArgument(java.lang.String arg)
Adds an argument to be used by this executable. |
java.lang.Object |
clone()
|
java.util.List |
getArguments()
Gets the list of arguments currently set for this executable. |
java.lang.String |
getCommandLine()
Builds a command line string, using the executable, and all arguments. |
java.lang.String |
getExecutable()
Gets the executable name. |
int |
getType()
Gets which type of command this is. |
boolean |
isRemoteAccess()
|
void |
setArguments(java.util.List arguments)
|
void |
setExecutable(java.lang.String executable)
Sets the executable name for this executable command. |
void |
setRemoteAccess(boolean remoteAccess)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExecuteCommand()
| Method Detail |
|---|
public void addArgument(java.lang.String arg)
arg - the value of the argument.public java.util.List getArguments()
public void setExecutable(java.lang.String executable)
executable - the name of the executable.public java.lang.String getExecutable()
public java.lang.String toString()
toString in class TaskCommandObject.toString()public boolean isRemoteAccess()
public void setRemoteAccess(boolean remoteAccess)
remoteAccess - The remoteAccess to set.public void setArguments(java.util.List arguments)
arguments - The arguments to set.public java.lang.String getCommandLine()
public int getType()
TaskCommand
getType in class TaskCommandpublic java.lang.Object clone()
clone in class TaskCommand
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||