|
||||||||||
| 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.ExecuteCommand
public class ExecuteCommand
Represents the execute 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 | |
|---|---|
ExecuteCommand()
|
|
ExecuteCommand(java.lang.String type)
Constructs an ExecuteCommand and sets its command type. |
|
| Method Summary | |
|---|---|
void |
addArgument(java.lang.String arg)
Adds an argument to be used by this executable. |
java.util.Vector |
getArguments()
Gets the list of arguments currently set for this executable. |
java.lang.String |
getExecutable()
Gets the executable name. |
boolean |
isRemote()
Checks whether the executable is remote. |
boolean |
isRemoteAccess()
|
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 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 ExecuteCommand()
public ExecuteCommand(java.lang.String type)
type - | Method Detail |
|---|
public void addArgument(java.lang.String arg)
arg - the value of the argument.public java.util.Vector getArguments()
public void setExecutable(java.lang.String executable)
executable - the name of the executable.public java.lang.String getExecutable()
public boolean isRemote()
public java.lang.String toString()
toString in class TaskCommandObject.toString()public boolean isRemoteAccess()
public void setRemoteAccess(boolean remoteAccess)
remoteAccess - The remoteAccess to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||