iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.compile
Class ISeriesCompilableSourceIFS

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.compile.SystemCompilableSource
      extended bycom.ibm.etools.systems.files.compile.UniversalCompilableSource
          extended bycom.ibm.etools.iseries.core.compile.ISeriesCompilableSourceIFS
All Implemented Interfaces:
Runnable

public class ISeriesCompilableSourceIFS
extends com.ibm.etools.systems.files.compile.UniversalCompilableSource

Encapsulation of a compilable IFS source file, when the compile command to execute is QSHELL


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.files.compile.UniversalCompilableSource
copyright
 
Fields inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompilableSource
compileCmd, firstSelection, isPrompt, rmtAdapter, shell, viewer
 
Constructor Summary
ISeriesCompilableSourceIFS(Shell shell, Object firstSelection, com.ibm.etools.systems.core.ui.compile.SystemCompileCommand compileCmd, boolean isPrompt, Viewer viewer)
          Constructor for ISeriesCompilableSourceIFS.
 
Method Summary
protected  com.ibm.etools.systems.subsystems.RemoteCmdSubSystem getCommandSubSystem()
          Return the command subsystem for the remote connection.
protected  AS400ifsCmdSubSystem getQShellCommandSubSystem()
          Internal method to find and return the associated QShell command subsystem, for the purpose of issuing a remote command
protected  AS400ifsCmdSubSystem selectQShellSubSystem(com.ibm.etools.systems.subsystems.SubSystem[] allCmdSubSystems)
          Internal method to select the appropriate command subsystem when there are multiple defined for this connection.
 
Methods inherited from class com.ibm.etools.systems.files.compile.UniversalCompilableSource
internalRunCompileCommand
 
Methods inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompilableSource
getCompileCommand, getRemoteAdapter, getSelectedObject, getShell, getSourceType, getSubstitutedString, getSubstitutionVariableList, getSubstitutor, getSubSystem, getSystemConnection, internalPromptCompileCommand, isPrompt, run, runCompileCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesCompilableSourceIFS

public ISeriesCompilableSourceIFS(Shell shell,
                                  Object firstSelection,
                                  com.ibm.etools.systems.core.ui.compile.SystemCompileCommand compileCmd,
                                  boolean isPrompt,
                                  Viewer viewer)
Constructor for ISeriesCompilableSourceIFS.

Parameters:
shell -
firstSelection -
compileCmd -
isPrompt -
Method Detail

getCommandSubSystem

protected com.ibm.etools.systems.subsystems.RemoteCmdSubSystem getCommandSubSystem()
Return the command subsystem for the remote connection. Typically needed to actually run the compile command.


getQShellCommandSubSystem

protected AS400ifsCmdSubSystem getQShellCommandSubSystem()
Internal method to find and return the associated QShell command subsystem, for the purpose of issuing a remote command


selectQShellSubSystem

protected AS400ifsCmdSubSystem selectQShellSubSystem(com.ibm.etools.systems.subsystems.SubSystem[] allCmdSubSystems)
Internal method to select the appropriate command subsystem when there are multiple defined for this connection. The default implementation is to return the first, but child classes can refine this. Input is always an array of length greater than one.


iSeries Remote Systems
v6.0.0

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.