|
||||||||||
| 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.SubstituteCommand
public class SubstituteCommand
This class represents a substitute command
| Constructor Summary | |
|---|---|
SubstituteCommand()
Constructs a SubstituteCommand and sets its command type. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
doSubstitution(java.util.Map map)
Substitutes the source file with values in the map |
void |
doSubstitutionwin(java.util.Map map)
Substitution for Windows OS |
java.lang.String |
getDestination()
Returns the destination file |
java.lang.String |
getSource()
Returns the source file |
int |
getType()
Gets which type of command this is. |
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.Map variableValues)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubstituteCommand()
| Method Detail |
|---|
public void doSubstitution(java.util.Map map)
map - public void doSubstitutionwin(java.util.Map map)
map - #doSubstitution(Hashtable)
public static java.lang.String substituteVariables(java.lang.String st,
java.util.Map variableValues)
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 - public java.lang.String toString()
toString in class TaskCommandObject.toString()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 | |||||||||