org.eclipse.rse.subsystems.shells.core.subsystems
Class RemoteCmdSubSystem.SendCommandToShellJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.rse.core.subsystems.SubSystem.SubSystemOperationJob
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystem.SendCommandToShellJob
- All Implemented Interfaces:
- Comparable, IAdaptable
- Enclosing class:
- RemoteCmdSubSystem
protected class RemoteCmdSubSystem.SendCommandToShellJob
- extends SubSystem.SubSystemOperationJob
Represents the subsystem operation of sending a command to a remote
shell.
Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
manager |
Methods inherited from class org.eclipse.core.runtime.jobs.Job |
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp |
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
compareTo, toString |
_runContext
protected Object _runContext
_cmd
protected String _cmd
RemoteCmdSubSystem.SendCommandToShellJob
public RemoteCmdSubSystem.SendCommandToShellJob(String cmd,
Object runContext)
- Constructs a new SendCommandToShellJob
- Parameters:
cmd
- The command to send to the shellrunContext
- The context in which the command is to be run
performOperation
public void performOperation(IProgressMonitor mon)
throws InterruptedException,
InvocationTargetException,
Exception
- Description copied from class:
SubSystem.SubSystemOperationJob
- Override this method with the actual operation performed by your subsystem operation. Make sure to
report progress to the Progress monitor.
- Specified by:
performOperation
in class SubSystem.SubSystemOperationJob
- Throws:
InterruptedException
- if the user presses cancel
InvocationTargetException
- if there is some error performing the operation
Exception
- if there is some other error
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.