|
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.SystemCompileCommand
A compile command is represents a command that can be run on a remote system for the explicit purpose of compiling selected source members.
The attributes of a compile command include:
setNature(String)
and getNature()
setLabel(String)
and getLabel()
setDefaultString(String)
and getDefaultString()
setCurrentString(String)
and getCurrentString()
setMenuOption(String)
and getMenuOption()
and isPromptable()
and isNonPromptable()
.
setOrder(int)
and getOrder()
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.systems.core.ui.compile.ISystemCompileXMLConstants |
---|
COMPILECOMMAND_ELEMENT, COPYRIGHT_ELEMENT, COPYRIGHT_TEXT, CURRENT_ATTRIBUTE, DEFAULT_ATTRIBUTE, FILE_NAME, ID_ATTRIBUTE, JOBENV_ATTRIBUTE, LABEL_ATTRIBUTE, LABEL_EDITABLE_ATTRIBUTE, LASTUSED_ATTRIBUTE, MENU_ATTRIBUTE, MENU_BOTH_VALUE, MENU_NON_PROMPTABLE_VALUE, MENU_NONE_VALUE, MENU_PROMPTABLE_VALUE, NATURE_ATTRIBUTE, NATURE_IBM_VALUE, NATURE_ISV_VALUE, NATURE_USER_VALUE, ORDER_ATTRIBUTE, ROOT_ELEMENT, STRING_EDITABLE_ATTRIBUTE, TYPE_ATTRIBUTE, TYPE_ELEMENT, VERSION_ATTRIBUTE, VERSION_VALUE |
Constructor Summary | |
---|---|
SystemCompileCommand(SystemCompileType parentType)
Constructor for SystemCompileCommand |
|
SystemCompileCommand(SystemCompileType parentType,
String id,
String label,
String nature,
String defaultString,
String currentString,
String menuOption,
int order)
Constructor for SystemCompileCommand. |
Method Summary | |
---|---|
Object |
clone()
Clone the object. |
String |
doVariableSubstitution(Object remoteObject,
ISystemCompileCommandSubstitutor substitutor)
Do substitution of any variables found in the compile command, using the given remote source object. |
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
String |
getCurrentString()
Get the current string. |
String |
getDefaultString()
Get the default string. |
String |
getId()
Get the id. |
String |
getJobEnvironment()
Get the job environment property. |
String |
getLabel()
Get the label. |
String |
getMenuOption()
Get the menu option. |
String |
getNature()
Get the nature: either IBM-supplied or user defined. |
int |
getOrder()
Get the order. |
SystemCompileType |
getParentType()
Get the parent type |
boolean |
isCommandStringEditable()
Gets whether the command string is editable in the Work With Compile Commands dialog. |
boolean |
isIBMSupplied()
Return true if this is an IBM-supplied type. |
boolean |
isISVSupplied()
Return true if this is an ISV-supplied type. |
boolean |
isLabelEditable()
Gets whether the label is editable in the Work With Compile Commands dialog. |
boolean |
isNonPromptable()
Returns if it is non-promptable. |
boolean |
isPromptable()
Returns if it is promptable. |
boolean |
isUserSupplied()
Return true if this is an user-supplied type. |
void |
printCommand(String indent)
Print the full command string to standard out, for debugging purposes |
void |
setCommandStringEditable(boolean editable)
Sets whether the command string is editable in the Work With Compile Commands dialog. |
void |
setCurrentString(String currentString)
Set the current string. |
void |
setDefaultString(String defaultString)
Set the default string. |
void |
setId(String identifier)
Set the id. |
void |
setIsIBMSupplied()
Indicate this is IBM supplied. |
void |
setIsISVSupplied()
Indicate this is ISV supplied. |
void |
setIsUserSupplied()
Indicate this is user supplied. |
void |
setJobEnvironment(String jobenv)
Set the job environment property. |
void |
setLabel(String name)
Set the label. |
void |
setLabelEditable(boolean editable)
Sets whether the label is editable in the Work With Compile Commands dialog. |
void |
setMenuOption(String menuOption)
Set the menu option. |
void |
setMenuOptionBoth()
Fastpath to setting the menu option to both, which is the typical case |
void |
setNature(String nature)
Set the nature: either IBM-supplied or user defined. |
void |
setOrder(int order)
Set the order. |
void |
setParentType(SystemCompileType parentType)
Sets the parent type |
String |
toString()
Return this object as a string. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public SystemCompileCommand(SystemCompileType parentType)
public SystemCompileCommand(SystemCompileType parentType, String id, String label, String nature, String defaultString, String currentString, String menuOption, int order)
Method Detail |
public void setParentType(SystemCompileType parentType)
public SystemCompileType getParentType()
public void setId(String identifier)
public String getId()
public void setLabel(String name)
public String getLabel()
public void setNature(String nature)
setIsIBMSupplied()
,
setIsUserSupplied()
,
#setIsISVsupplied()
public void setIsIBMSupplied()
public void setIsUserSupplied()
public void setIsISVSupplied()
public String getNature()
isIBMSupplied()
,
isUserSupplied()
public boolean isIBMSupplied()
public boolean isUserSupplied()
public boolean isISVSupplied()
public void setDefaultString(String defaultString)
public String getDefaultString()
public void setCurrentString(String currentString)
public String getCurrentString()
public void setMenuOption(String menuOption)
public void setMenuOptionBoth()
public String getMenuOption()
public void setOrder(int order)
public int getOrder()
public boolean isPromptable()
public boolean isNonPromptable()
public void setJobEnvironment(String jobenv)
public String getJobEnvironment()
public void setLabelEditable(boolean editable)
public boolean isLabelEditable()
public void setCommandStringEditable(boolean editable)
public boolean isCommandStringEditable()
public Object clone()
public void printCommand(String indent)
public String doVariableSubstitution(Object remoteObject, ISystemCompileCommandSubstitutor substitutor)
This method retrieves the substitution variable list from the compile manager, and then calls doSubstitutions in it. This in turn will call back to the supplied substitutor for each match it finds in compile string, of a variable in its list.
public String toString()
public Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |