Remote Systems
v6.4.1

com.ibm.etools.systems.localfilesubsys.impl
Class LocalCommandShellImpl

java.lang.Object
  extended bycom.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
      extended bycom.ibm.etools.systems.localfilesubsys.impl.LocalCommandShellImpl
All Implemented Interfaces:
IAdaptable, IRemoteCommandShell

public class LocalCommandShellImpl
extends RemoteCommandShellImpl

Implementation of a local shell handle


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
_cmdHistory, _cmdSubSystem, _cwd, _fileSubSystem, _id, _name, _output, _project, _type
 
Constructor Summary
LocalCommandShellImpl(RemoteCmdSubSystem cmdSubSystem, LocalCommandThread cmdThread)
           
 
Method Summary
 ICandidateCommand[] getCandidateCommands()
          Override to provide a list of possible commands
 String getCWD()
           
 String getType()
          Gets the type of the command shell or command that is being run.
 boolean isActive()
          Indicate whether the corresponding command is running or not
 boolean isShell()
           
 void setCWD(String cwd)
           
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
addOutput, associateProject, getAdapter, getAssociatedProject, getCommandSubSystem, getContext, getFileSubSystem, getHistory, getId, getIndexOf, getName, getOutputAt, getRoots, getSize, getTitle, getWorkingDirectory, isWindows, listOutput, removeOutput, removeOutput, setName, setType, setWorkingDirectory, updateHistory
 
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

LocalCommandShellImpl

public LocalCommandShellImpl(RemoteCmdSubSystem cmdSubSystem,
                             LocalCommandThread cmdThread)
Method Detail

isShell

public boolean isShell()

getCWD

public String getCWD()

setCWD

public void setCWD(String cwd)

getType

public String getType()
Description copied from interface: IRemoteCommandShell
Gets the type of the command shell or command that is being run. The type may either be a "Shell" or a "Command".

Specified by:
getType in interface IRemoteCommandShell
Overrides:
getType in class RemoteCommandShellImpl

isActive

public boolean isActive()
Description copied from interface: IRemoteCommandShell
Indicate whether the corresponding command is running or not

Specified by:
isActive in interface IRemoteCommandShell
Overrides:
isActive in class RemoteCommandShellImpl

getCandidateCommands

public ICandidateCommand[] getCandidateCommands()
Description copied from class: RemoteCommandShellImpl
Override to provide a list of possible commands

Specified by:
getCandidateCommands in interface IRemoteCommandShell
Overrides:
getCandidateCommands in class RemoteCommandShellImpl

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.