|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.compile.SystemDefaultCompileCommand
This class encapsulates, for a particular compile command, the important information for that command including:
Field Summary | |
---|---|
protected String |
addlParms
|
static String |
Copyright
|
protected String |
jobEnv
|
protected String |
label
|
protected String |
name
|
protected String[] |
srcTypes
|
Constructor Summary | |
---|---|
SystemDefaultCompileCommand(String commandName)
Constructor that just takes a command name and defaults the label to it. |
|
SystemDefaultCompileCommand(String commandLabel,
String commandName)
Constructor that takes a command name and label. |
|
SystemDefaultCompileCommand(String commandLabel,
String commandName,
String parameters)
Constructor that takes a command name and label and the parameters. |
Method Summary | |
---|---|
boolean |
appliesToSourceType(String type)
Return true if this command applies to the given source type |
String |
fillWithRequiredParams(String commandParams)
Given user-specified command paramaters (minus the cmd name), verify it has all the minimum parameters we defined for this command. |
String |
getCommandWithParameters()
Return command fully populated with default parameters and substitution variables |
protected String |
getCommandWithParameters(String existingParameters)
Private implementation that supports two modes: - append all required parameters - append only those required parameters that do not already exist Typically not overridden. |
String |
getJobEnvironment()
Return the job environment. |
String |
getLabel()
Return the command label |
String |
getName()
Return the command name, without parameters |
String[] |
getSourceTypes()
Get the source types this applies to |
protected void |
populateWithParameters(StringBuffer bufferSoFar)
Overridable method that will append required parameters to the command string. |
void |
printCommand()
Print the full command string to standard out, for debugging purposes |
void |
printCommandLabel()
Print the command lable to standard out, for debugging purposes |
void |
printCommandName()
Print the command name to standard out, for debugging purposes |
void |
setAdditionalParameters(String parms)
Set additional minimum parameters not specified via the constructor. |
void |
setJobEnvironment(String jobEnv)
Set the job environment. |
void |
setSourceType(String type)
Set the source type this applies to, when there is only one |
void |
setSourceTypes(String[] types)
Set the source types this applies to |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
protected String name
protected String label
protected String jobEnv
protected String addlParms
protected String[] srcTypes
Constructor Detail |
public SystemDefaultCompileCommand(String commandLabel, String commandName)
public SystemDefaultCompileCommand(String commandName)
public SystemDefaultCompileCommand(String commandLabel, String commandName, String parameters)
Method Detail |
public void setAdditionalParameters(String parms)
Don't worry about a leading blank.
public void setSourceType(String type)
public void setSourceTypes(String[] types)
public String[] getSourceTypes()
public boolean appliesToSourceType(String type)
public String getLabel()
public String getName()
public String getCommandWithParameters()
public void setJobEnvironment(String jobEnv)
public String getJobEnvironment()
public String fillWithRequiredParams(String commandParams)
public void printCommandLabel()
public void printCommandName()
public void printCommand()
protected String getCommandWithParameters(String existingParameters)
Typically not overridden. Rather populateWithParameters is overridden, which this calls.
protected void populateWithParameters(StringBuffer bufferSoFar)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |