|
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.QSYSCompileSubstitutor com.ibm.etools.iseries.rse.ui.compile.IFSCompileSubstitutor
public class IFSCompileSubstitutor
This class is responsible for doing variable substitution for iSeries QSYS compile commands that act against IFS source files.
Field Summary | |
---|---|
static String |
Copyright
|
protected UniversalCompileSubstitutor |
univSubstitutor
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.compile.QSYSCompileSubstitutor |
---|
connection |
Constructor Summary | |
---|---|
IFSCompileSubstitutor(IHost connection)
Constructor for ISeriesCompileSubstitutor. |
Method Summary | |
---|---|
protected String |
getFileExtension(Object context)
Return the substitute for the &FNE variable: Extension part of the name of the selected file |
protected String |
getFileName(Object context)
Return the substitute for the &N variable:Name of selected file |
protected String |
getFileNameRoot(Object context)
Return the substitute for the &FNR variable: Name of selected file without the extension. |
protected String |
getFolderPath(Object context)
Return the substitute for the &FP variable: Fully qualified path of selected file, including name |
protected String |
getObjectLibraryName(Object context)
Return the substitute for the &O variable: the object library into which to place the compiled output |
protected String |
getParentFolderName(Object context)
Return the substitute for the &FCN variable: Name of parent folder containing selected file |
protected String |
getParentFolderPath(Object context)
Return the substitute for the &FCP variable: Fully qualified path of parent folder, including name of selected file |
String |
getSubstitutionValue(String substitutionVariable,
Object context)
Return the substitution value for the IFS qsys command substitution variable |
String |
getSubstitutionValue(String substitutionVariable,
Object context,
boolean qsysCommand)
Return the substitution value for the IFS qsys, or IFS qsys, command substitution variable |
void |
setConnection(IHost connection)
Reset the connection so one instance can be re-used |
Methods inherited from class com.ibm.etools.iseries.rse.ui.compile.QSYSCompileSubstitutor |
---|
getDescription, getLibraryName, getMemberName, getReplaceValue |
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 UniversalCompileSubstitutor univSubstitutor
Constructor Detail |
---|
public IFSCompileSubstitutor(IHost connection)
Method Detail |
---|
public void setConnection(IHost connection)
setConnection
in class QSYSCompileSubstitutor
public String getSubstitutionValue(String substitutionVariable, Object context)
getSubstitutionValue
in class QSYSCompileSubstitutor
com.ibm.etools.systems.core.ui.commands.ISystemSubstitutor#getSubstitutionValue(String, Object)
public String getSubstitutionValue(String substitutionVariable, Object context, boolean qsysCommand)
protected String getParentFolderName(Object context)
protected String getParentFolderPath(Object context)
protected String getFolderPath(Object context)
protected String getFileExtension(Object context)
protected String getFileNameRoot(Object context)
protected String getFileName(Object context)
getFileName
in class QSYSCompileSubstitutor
protected String getObjectLibraryName(Object context)
getObjectLibraryName
in class QSYSCompileSubstitutor
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |