|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.compile.ISeriesCompileSubstitutor
com.ibm.etools.iseries.core.compile.ISeriesCompileSubstitutorIFS
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 com.ibm.etools.systems.files.compile.UniversalCompileSubstitutor |
univSubstitutor
|
Fields inherited from class com.ibm.etools.iseries.core.compile.ISeriesCompileSubstitutor |
---|
connection |
Fields inherited from interface com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor |
---|
copyright |
Constructor Summary | |
---|---|
ISeriesCompileSubstitutorIFS(com.ibm.etools.systems.model.SystemConnection 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(com.ibm.etools.systems.model.SystemConnection connection)
Reset the connection so one instance can be re-used |
Methods inherited from class com.ibm.etools.iseries.core.compile.ISeriesCompileSubstitutor |
---|
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 com.ibm.etools.systems.files.compile.UniversalCompileSubstitutor univSubstitutor
Constructor Detail |
public ISeriesCompileSubstitutorIFS(com.ibm.etools.systems.model.SystemConnection connection)
Method Detail |
public void setConnection(com.ibm.etools.systems.model.SystemConnection connection)
setConnection
in interface com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor
setConnection
in class ISeriesCompileSubstitutor
public String getSubstitutionValue(String substitutionVariable, Object context)
getSubstitutionValue
in interface com.ibm.etools.systems.core.ui.commands.ISystemSubstitutor
getSubstitutionValue
in class ISeriesCompileSubstitutor
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 ISeriesCompileSubstitutor
protected String getObjectLibraryName(Object context)
getObjectLibraryName
in class ISeriesCompileSubstitutor
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |