|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemDefaultCompileCommand com.ibm.etools.iseries.rse.ui.compile.QSYSCompileCommand
public class QSYSCompileCommand
This class encapsulates, for a particular iSeries compile command, the important information for that command including:
Field Summary | |
---|---|
static String |
Copyright
|
protected String |
nameSubstVar
|
Constructor Summary | |
---|---|
QSYSCompileCommand(String commandName)
Constructor for ISeriesIBMCompileCommand when just have a command name. |
|
QSYSCompileCommand(String commandName,
boolean supportsSRCMBR,
boolean supportsPGMorMODULE,
boolean supportsDBGVIEW)
Constructor for ISeriesIBMCompileCommand when have all info. |
Method Summary | |
---|---|
String |
addEVFOption(String compileParams)
Given a command without the option to produce an events file, add it to ensure that an events file is produced. |
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 |
getNameSubstitutionVariable()
Overridable method to return the substitution variable for the selected resource name. |
boolean |
isSQLCommand()
Return true if this is an SQL command |
void |
setMODULE(boolean isMODULE)
Call this to indicate if this command is PGM or MODULE for its target parameter. |
void |
setNameSubstitutionVariable(String namesv)
Set the value to use for the target module or program name, if you don't want to use the default of &N. |
void |
setOBJ(boolean isOBJ)
Call this to indicate if this command should use OBJ vs PGM/MODULE for its target parameter |
void |
setSupportsEventFile(boolean supportsEventFile)
Call this if the command does not support the OPTION(*EVENTF) parameter. |
void |
setSupportsIFS(boolean supportsIFS)
Call this if this is a compile out of the IFS |
void |
setSupportsReplace(boolean supportsReplace)
Call this if the command does not support the REPLACE parameter. |
void |
setUseCURLIB(boolean useCURLIB)
Call this to indicate this command should use *CURLIB for the PGM/MODULE parms versus &O |
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 nameSubstVar
Constructor Detail |
---|
public QSYSCompileCommand(String commandName)
public QSYSCompileCommand(String commandName, boolean supportsSRCMBR, boolean supportsPGMorMODULE, boolean supportsDBGVIEW)
supportsSRCMBR
- - true if this command supports the SRCFILE(&L/&F) and SRCMBR(&N) parameterssupportsPGMorMODULE
- - true if this command supports the PGM(&O/&N) or MODULE(&O/&N) parametersupportsDBGVIEW
- - true if this command supports DBGVIEW(*SOURCE)setUseCURLIB(boolean)
,
#setAdditionalParameters(String)
Method Detail |
---|
public void setUseCURLIB(boolean useCURLIB)
public void setMODULE(boolean isMODULE)
public void setOBJ(boolean isOBJ)
public void setSupportsReplace(boolean supportsReplace)
public void setSupportsEventFile(boolean supportsEventFile)
public void setSupportsIFS(boolean supportsIFS)
public String getCommandWithParameters()
public String fillWithRequiredParams(String commandParams)
public String addEVFOption(String compileParams)
public boolean isSQLCommand()
public void setNameSubstitutionVariable(String namesv)
protected String getNameSubstitutionVariable()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |