public final class DataProviderEvent extends Object
DataProviderEvent
objects are generated when a data
provider experiences an operational error or a state change resulting from
configuration updates or administrative actions.
TODO: what else should this contain?
Modifier and Type | Class and Description |
---|---|
static class |
DataProviderEvent.Type
Indicates the type of event that has occurred in the data provider.
|
Constructor and Description |
---|
DataProviderEvent(LocalizableMessage reason,
Set<DataProviderEvent.Type> types)
Creates a new data provider event.
|
Modifier and Type | Method and Description |
---|---|
Set<DataProviderEvent.Type> |
getEventTypes()
Returns an unmodifiable set containing the types of event that have
occurred in the data provider.
|
LocalizableMessage |
getReason()
Returns a message describing this event.
|
String |
toString()
Returns a string describing this event.
|
public DataProviderEvent(LocalizableMessage reason, Set<DataProviderEvent.Type> types)
reason
- A message describing this event.types
- The types of event that have occurred in the data provider.public Set<DataProviderEvent.Type> getEventTypes()
public LocalizableMessage getReason()
Copyright 2010-2017 ForgeRock AS.