Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.compile
Class IFSCompilableSource

java.lang.Object
  extended by UniversalCompilableSource
      extended by com.ibm.etools.iseries.rse.ui.compile.IFSCompilableSource

public class IFSCompilableSource
extends UniversalCompilableSource

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


Field Summary
static String Copyright
           
 
Constructor Summary
IFSCompilableSource(Shell shell, Object firstSelection, SystemCompileCommand compileCmd, boolean isPrompt, Viewer viewer)
          Constructor for ISeriesCompilableSourceIFS.
 
Method Summary
protected  RemoteCmdSubSystem getCommandSubSystem()
          Return the command subsystem for the remote connection.
protected  IFSCmdSubSystem getQShellCommandSubSystem()
          Internal method to find and return the associated QShell command subsystem, for the purpose of issuing a remote command
protected  IFSCmdSubSystem selectQShellSubSystem(ISubSystem[] allCmdSubSystems)
          Internal method to select the appropriate command subsystem when there are multiple defined for this connection.
 
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

IFSCompilableSource

public IFSCompilableSource(Shell shell,
                           Object firstSelection,
                           SystemCompileCommand compileCmd,
                           boolean isPrompt,
                           Viewer viewer)
Constructor for ISeriesCompilableSourceIFS.

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

getCommandSubSystem

protected RemoteCmdSubSystem getCommandSubSystem()
Return the command subsystem for the remote connection. Typically needed to actually run the compile command.


getQShellCommandSubSystem

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


selectQShellSubSystem

protected IFSCmdSubSystem selectQShellSubSystem(ISubSystem[] 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.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.