public class ConfigChangeNotifier
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_ADDED
Change type for adding a document.
|
static int |
DOCUMENT_DELETED
Change type for deleting a document.
|
static int |
DOCUMENT_MODIFIED
Change type for modifying a document.
|
Constructor and Description |
---|
ConfigChangeNotifier(java.lang.String uri,
int type)
Creates a
ConfigChangeNotifier instance given the document
location and change type. |
Modifier and Type | Method and Description |
---|---|
int |
getChangeType()
Returns the type of change that was made to the document in this object.
|
java.lang.String |
getUri()
Returns the location of the document that was changed.
|
java.lang.String |
toString() |
public static final int DOCUMENT_ADDED
public static final int DOCUMENT_DELETED
public static final int DOCUMENT_MODIFIED
public ConfigChangeNotifier(java.lang.String uri, int type)
ConfigChangeNotifier
instance given the document
location and change type.uri
- location of the changed documenttype
- the change type, one of DOCUMENT_ADDED
DOCUMENT_DELETED
DOCUMENT_MODIFIED
public int getChangeType()
DOCUMENT_ADDED
DOCUMENT_DELETED
DOCUMENT_MODIFIED
public java.lang.String getUri()
public java.lang.String toString()
toString
in class java.lang.Object