|
 |
|
|
org.eclipse.rse.core.events
Interface ISystemRemoteChangeEvent
-
All Known Implementing Classes:
-
SystemRemoteChangeEvent
-
public interface ISystemRemoteChangeEvent
A change event passed to you when listening for remote resource changes.
Note these are post-events, sent after the fact.
getEventType
int getEventType()
- Get the event type, such as
ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_CREATED .
-
-
Returns:
- the event type.
-
See Also:
-
ISystemRemoteChangeEvents
getResource
Object getResource()
- Get the resource that this event applies to.
It must either be the binary object of the resource, or the absolute name of the resource,
or a List of absolute names of the resources
-
-
Returns:
- the resource that this event applies to.
getResourceParent
Object getResourceParent()
- Get the parent remote object for the affected remote object. This is not always known,
but when it is (ie, non null) then it can be used to refresh all expanded occurrences of that parent
-
-
Returns:
- the parent remote object of the affected resource,
or
null if not applicable.
getOldNames
String[] getOldNames()
- Get the old name(s) of the resource(s), in the event of a resource
rename, move or copy. Null for other event types.
-
-
Returns:
- the old names of the resources in case of a rename event, or
null if not applicable. -
Since:
- org.eclipse.rse.core 3.0
getSubSystem
ISubSystem getSubSystem()
- Get the subsystem in which this resource resides.
This allows the search for impacts to be limited to subsystems
of the same parent factory, and to connections with the same
hostname as the subsystem's connection.
-
-
Returns:
- the subsystem in which this resource resides.
getOperation
String getOperation()
- Returns the operation of this event if it's not implied by the event
itself.
-
-
Returns:
- the operation that triggered this event
-
Since:
- org.eclipse.rse.core 3.0
-
See Also:
-
ISystemRemoteChangeEvents.SYSTEM_REMOTE_OPERATION_COPY ,
ISystemRemoteChangeEvents.SYSTEM_REMOTE_OPERATION_MOVE
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|
|