Remote Systems
v6.4.1

com.ibm.etools.systems.files.compile
Class UniversalCompilableSource

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

public class UniversalCompilableSource
extends SystemCompilableSource

This encapsulates a file in a universal file system, which is to be compiled.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompilableSource
compileCmd, Copyright, firstSelection, isPrompt, rmtAdapter, shell, viewer
 
Constructor Summary
UniversalCompilableSource(Shell shell, Object firstSelection, SystemCompileCommand compileCmd, boolean isPrompt, Viewer viewer)
          Constructor for UniversalCompilableSource.
 
Method Summary
protected  boolean internalRunCompileCommand(String compileCmd)
          After the substituting and the prompting, it is now time to the remote running of the fully resolved compile command.
 
Methods inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompilableSource
getCommandSubSystem, 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

UniversalCompilableSource

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

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

internalRunCompileCommand

protected boolean internalRunCompileCommand(String compileCmd)
After the substituting and the prompting, it is now time to the remote running of the fully resolved compile command. Do that here.

We use the RemoteCommandHelpers class to run it.

Overrides:
internalRunCompileCommand in class SystemCompilableSource
Returns:
true if all is well, false if something went wrong. This prevents the next compile from running

Remote Systems
v6.4.1

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.