|
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 com.ibm.etools.iseries.rse.ui.compile.IBMiCompileUtilities
public class IBMiCompileUtilities
A singleton utility class that provides useful methods related to the entire compilation infrastructure.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.iseries.rse.ui.compile.IIBMiCompileConstants |
---|
DBGVIEW_NONE, DBGVIEW_SRC, EVF, LST, NO_EVF, NO_LST, NO_SRC, OPTION, SRC |
Method Summary | |
---|---|
String |
addEVFOption(String compileString)
Given a command without the option to produce an events file, add it to ensure that an events file is produced. |
String |
fillWithRequiredIFSParams(String commandString)
Fill a command string with required parameters and substitution variables, when the input is from the IFS |
String |
fillWithRequiredParams(String commandString)
Fill a command string with required parameters and substitution variables |
String[] |
getAllCompileTypes()
Get all compile types from all profiles for the iSeries Objects sub system factory. |
String[] |
getAllCompileTypesInOrder()
Returns all compile types in the order in which compile commands would be executed. |
QSYSCompileCommands |
getAllIBMSuppliedCmds()
Get all IBM supplied commands. |
String[] |
getAllIBMSuppliedCmdStrings()
Get all IBM supplied command strings. |
String[] |
getAllIBMSuppliedCompileNames()
Get all IBM supplied compile names. |
IFSCompileCommands |
getAllIBMSuppliedIFSCmds()
Get all IBM supplied IFS commands. |
String[] |
getAllIBMSuppliedMbrTypes()
Get all IBM supplied member types. |
String[] |
getCommandsToExecute(IBMiConnection connection,
String compileString,
boolean replace)
Get the commands to execute given the compile string. |
SystemCompileProfile |
getCompileProfile(Object selectedObject,
IHost connection)
Return the compile profile object, given a connection |
static IBMiCompileUtilities |
getDefault()
Get the singleton instance. |
String |
getIBMSuppliedCmdStringFromCompileName(String compileName)
Get the IBM supplied command string associated with the compile name if it exists. |
QSYSCompileCommand |
getIBMSuppliedCommand(String commandName)
If the command is an IBM supplied command, returns its ISeriesIBMCompileCommand object. |
String[] |
getIBMSuppliedCommandStringsFromType(String sourceType)
Get the IBM supplied command strings that are associated with the given source type by default. |
SystemDefaultCompileCommand[] |
getIBMSuppliedCompileCommandsFromType(String sourceType)
Get the IBM supplied compile commands that are associated with the given source type by default. |
String[] |
getIBMSuppliedCompileNamesFromType(String sourceType)
Get the IBM supplied compile names that are associated with the given source type by default. |
String |
getIBMSuppliedIFSCmdStringFromCompileName(String compileName)
Get the IBM supplied IFS command string associated with the compile name if it exists. |
IFSCompileCommand |
getIBMSuppliedIFSCommand(String commandName)
If the command is an IBM supplied IFS command, returns its ISeriesIBMIFSCompileCommand object. |
SystemCompileCommand |
getLastUsedCompileCommand(Object selectedObject,
String mbrType,
IHost connection)
Return the last used compile command for the given source type |
boolean |
isIBMSuppliedCommand(String command)
Is the command an IBM supplied command? These are all the compile commands. |
boolean |
isIBMSuppliedIFSCommand(String command)
Is the command an IBM supplied IFS command? These are all the compile commands. |
void |
printAllIBMSuppliedCmds()
Print all IBM supplied commands |
void |
printAllIBMSuppliedIFSCmds()
Print all IBM supplied IFS commands |
String[] |
putCompileTypesInDefaultOrder(String[] types)
Put compile types in default order. |
String[] |
putTypesInOrder(String[] types)
Given an array of types, puts those types in order. |
void |
saveTypesInOrder(String[] types)
Given a list of types, saves the types according to their order in the list. |
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
Method Detail |
---|
public static IBMiCompileUtilities getDefault()
public String[] getAllIBMSuppliedMbrTypes()
public String[] getAllIBMSuppliedCompileNames()
public String[] getAllIBMSuppliedCmdStrings()
public QSYSCompileCommands getAllIBMSuppliedCmds()
public IFSCompileCommands getAllIBMSuppliedIFSCmds()
public void printAllIBMSuppliedCmds()
public void printAllIBMSuppliedIFSCmds()
public String getIBMSuppliedCmdStringFromCompileName(String compileName)
the
- compile namepublic String getIBMSuppliedIFSCmdStringFromCompileName(String compileName)
the
- compile namepublic String[] getIBMSuppliedCompileNamesFromType(String sourceType)
the
- source typepublic String[] getIBMSuppliedCommandStringsFromType(String sourceType)
the
- source typepublic SystemDefaultCompileCommand[] getIBMSuppliedCompileCommandsFromType(String sourceType)
the
- source typepublic boolean isIBMSuppliedCommand(String command)
public boolean isIBMSuppliedIFSCommand(String command)
public QSYSCompileCommand getIBMSuppliedCommand(String commandName)
public IFSCompileCommand getIBMSuppliedIFSCommand(String commandName)
public String addEVFOption(String compileString)
public String[] getCommandsToExecute(IBMiConnection connection, String compileString, boolean replace) throws Exception
Exception
public String fillWithRequiredParams(String commandString)
public String fillWithRequiredIFSParams(String commandString)
public SystemCompileProfile getCompileProfile(Object selectedObject, IHost connection)
public SystemCompileCommand getLastUsedCompileCommand(Object selectedObject, String mbrType, IHost connection)
public String[] getAllCompileTypes()
public String[] getAllCompileTypesInOrder()
public String[] putCompileTypesInDefaultOrder(String[] types)
public void saveTypesInOrder(String[] types)
public String[] putTypesInOrder(String[] types)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |