com.ibm.websphere.management.repository
Class ConfigChangeNotifier
- java.lang.Object
com.ibm.websphere.management.repository.ConfigChangeNotifier
All implemented interfaces:
java.io.Serializable
- public class ConfigChangeNotifier
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
DOCUMENT_ADDED
Change type for adding a document.
|
|
DOCUMENT_DELETED
Change type for deleting a document.
|
|
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 |
---|---|
|
getChangeType()
Returns the type of change that was made to the document in this object.
|
|
getUri()
Returns the location of the document that was changed.
|
|
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
DOCUMENT_ADDED
- public static final int DOCUMENT_ADDED
Change type for adding a document.
See Also:
DOCUMENT_DELETED
- public static final int DOCUMENT_DELETED
Change type for deleting a document.
See Also:
DOCUMENT_MODIFIED
- public static final int DOCUMENT_MODIFIED
Change type for modifying a document.
See Also:
Constructor Detail
ConfigChangeNotifier
- public ConfigChangeNotifier(java.lang.String uri,
- 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
- 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
- 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
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Object