Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

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.


Method Summary
 int getEventType ()
          Get the event type, such as ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_CREATED.
  String[] getOldNames ()
          Get the old name(s) of the resource(s), in the event of a resource rename, move or copy.
  String getOperation ()
          Returns the operation of this event if it's not implied by the event itself.
  Object getResource ()
          Get the resource that this event applies to.
  Object getResourceParent ()
          Get the parent remote object for the affected remote object.
  ISubSystem getSubSystem ()
          Get the subsystem in which this resource resides.
 

Method Detail

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

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire