org.eclipse.rse.subsystems.processes.core.subsystem.impl
Class RemoteProcessContext
java.lang.Object
org.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessContext
-
All Implemented Interfaces:
-
IRemoteProcessContext
-
public class RemoteProcessContext
- extends
Object
- implements
IRemoteProcessContext
This class represents a place to hold contextual information stored within
each remote process object.
We store in here information that might be the same for multiple remote process objects,
in order to save memory. This way, we can merely hold a reference to a single object,
which itself may have numerous pieces of information helpful when processing actions
on a particular remote object.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
subsystem
protected
IRemoteProcessSubSystem subsystem
parentProcess
protected
IRemoteProcess parentProcess
filterString
protected
IHostProcessFilter filterString
allFilterStrings
protected
Vector allFilterStrings
RemoteProcessContext
public RemoteProcessContext(
IRemoteProcessSubSystem subsystem,
IRemoteProcess parentProcessObject,
IHostProcessFilter filterString)
- Constructor that takes all inputs.
RemoteProcessContext
public RemoteProcessContext()
- Constructor that takes no inputs.
setParentRemoteProcessSubSystem
public void setParentRemoteProcessSubSystem(
IRemoteProcessSubSystem subsystem)
- Set the parent subsystem
-
-
Specified by:
-
setParentRemoteProcessSubSystem
in interface
IRemoteProcessContext
-
setParentRemoteProcess
public void setParentRemoteProcess(
IRemoteProcess parentProcessObject)
- Set the parent remote process object of this process
-
-
Specified by:
-
setParentRemoteProcess
in interface
IRemoteProcessContext
-
setFilterString
public void setFilterString(
IHostProcessFilter filterString)
- Set the filter string object resolved to get this object
-
-
Specified by:
-
setFilterString
in interface
IRemoteProcessContext
-
addFilterString
public void addFilterString(
IHostProcessFilter additionalFilterString)
- Add an additional filter string. This is called for folders in a multi-filter string
filter. It is needed to support the subsequent expansion of
this process, so that it can filter on all the appropriate filter strings.
-
-
Specified by:
-
addFilterString
in interface
IRemoteProcessContext
-
getParentRemoteProcessSubSystem
public
IRemoteProcessSubSystem getParentRemoteProcessSubSystem()
- Return the parent subsystem
-
-
Specified by:
-
getParentRemoteProcessSubSystem
in interface
IRemoteProcessContext
-
getParentRemoteProcess
public
IRemoteProcess getParentRemoteProcess()
- Return the parent remote process object expanded to get this object, or null if no such parent
-
-
Specified by:
-
getParentRemoteProcess
in interface
IRemoteProcessContext
-
getFilterString
public
IHostProcessFilter getFilterString()
- Return the filter string object resolved to get this object
-
-
Specified by:
-
getFilterString
in interface
IRemoteProcessContext
-
getAllFilterStrings
public
IHostProcessFilter[] getAllFilterStrings()
- Return all the filter string objects applicable to this folder object.
-
-
Specified by:
-
getAllFilterStrings
in interface
IRemoteProcessContext
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.