Package | Description |
---|---|
org.apache.sling.api.resource.observation | |
org.apache.sling.spi.resource.provider |
Modifier and Type | Method and Description |
---|---|
ResourceChange.ChangeType |
ResourceChange.getType()
Get the type of change
|
static ResourceChange.ChangeType |
ResourceChange.ChangeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceChange.ChangeType[] |
ResourceChange.ChangeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ResourceChange(ResourceChange.ChangeType changeType,
String path,
boolean isExternal)
Create a new change object
|
ResourceChange(ResourceChange.ChangeType changeType,
String path,
boolean isExternal,
Set<String> addedPropertyNames,
Set<String> changedPropertyNames,
Set<String> removedPropertyNames)
Deprecated.
The sets of property names are not supported anymore.
|
Modifier and Type | Method and Description |
---|---|
Set<ResourceChange.ChangeType> |
ObserverConfiguration.getChangeTypes()
The set of types listeners are interested in.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.