|
||||||||||
| 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.SubstituteCommand
public class SubstituteCommand
This class represents a substitute command
| 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 | |
|---|---|
SubstituteCommand()
Constructs a SubstituteCommand and sets its command type. |
|
| Method Summary | |
|---|---|
void |
doSubstitution(java.util.Hashtable hash)
Substitutes the source file with values in the hashtable |
void |
doSubstitutionwin(java.util.Hashtable hash)
Substitution for Windows OS |
java.lang.String |
getDestination()
Returns the destination file |
java.lang.String |
getSource()
Returns the source file |
void |
setDestination(java.lang.String string)
Sets the destination file location for the substitute command. |
void |
setSource(java.lang.String string)
Sets the source file location for this substitute command. |
static java.lang.String |
substituteVariables(java.lang.String st,
java.util.Hashtable variables)
|
| Methods inherited from class org.gridbus.broker.runfile.TaskCommand |
|---|
findType, getType, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubstituteCommand()
| Method Detail |
|---|
public void doSubstitution(java.util.Hashtable hash)
hash - public void doSubstitutionwin(java.util.Hashtable hash)
hash - doSubstitution(Hashtable)
public static java.lang.String substituteVariables(java.lang.String st,
java.util.Hashtable variables)
st - variables - (value table)
public java.lang.String getDestination()
public java.lang.String getSource()
public void setDestination(java.lang.String string)
string - public void setSource(java.lang.String string)
string -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||