com.ibm.websphere.management.repository

Class ConfigChangeNotifier

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.repository.ConfigChangeNotifier
All implemented interfaces:
java.io.Serializable

  1. public class ConfigChangeNotifier
  2. extends java.lang.Object
  3. implements java.io.Serializable
A ConfigChangeNotifier contains information about the update of a single document. It contains the document location as well as the type of change that was made: add, modify, or delete.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
DOCUMENT_ADDED
Change type for adding a document.
  1. static
  2. int
DOCUMENT_DELETED
Change type for deleting a document.
  1. static
  2. int
DOCUMENT_MODIFIED
Change type for modifying a document.

Constructor Summary

Constructor and Description
ConfigChangeNotifier(java.lang.String uri,int type)
Creates a ConfigChangeNotifier instance given the document location and change type.

Method Summary

Modifier and Type Method and Description
  1. int
getChangeType()
Returns the type of change that was made to the document in this object.
  1. java.lang.String
getUri()
Returns the location of the document that was changed.
  1. java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

DOCUMENT_ADDED

  1. public static final int DOCUMENT_ADDED
Change type for adding a document.
See Also:

DOCUMENT_DELETED

  1. public static final int DOCUMENT_DELETED
Change type for deleting a document.
See Also:

DOCUMENT_MODIFIED

  1. public static final int DOCUMENT_MODIFIED
Change type for modifying a document.
See Also:

Constructor Detail

ConfigChangeNotifier

  1. public ConfigChangeNotifier(java.lang.String uri,
  2. int type)
Creates a ConfigChangeNotifier instance given the document location and change type.
Parameters:
uri - location of the changed document
type - the change type, one of
  • DOCUMENT_ADDED
  • DOCUMENT_DELETED
  • DOCUMENT_MODIFIED

Method Detail

getChangeType

  1. public int getChangeType()
Returns the type of change that was made to the document in this object.
Returns:
the change type, one of
  • DOCUMENT_ADDED
  • DOCUMENT_DELETED
  • DOCUMENT_MODIFIED

getUri

  1. public java.lang.String getUri( )
Returns the location of the document that was changed.
Returns:
a URI with the location of the changed document

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Object