| Package | Description |
|---|---|
| org.apache.commons.configuration2.event |
This package contains interfaces and classes for receiving notifications
about changes at configurations.
|
| Modifier and Type | Field | Description |
|---|---|---|
static EventType<ConfigurationErrorEvent> |
ConfigurationErrorEvent.ANY |
Constant for the common event type for all error events.
|
static EventType<ConfigurationErrorEvent> |
ConfigurationErrorEvent.READ |
Constant for the event type indicating a read error.
|
static EventType<ConfigurationErrorEvent> |
ConfigurationErrorEvent.WRITE |
Constant for the event type indicating a write error.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends ConfigurationErrorEvent> |
BaseEventSource.fireError(EventType<T> eventType,
EventType<?> operationType,
java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Throwable cause) |
Creates an error event object and delivers it to all registered error
listeners of a matching type.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected ConfigurationErrorEvent |
BaseEventSource.createErrorEvent(EventType<? extends ConfigurationErrorEvent> type,
EventType<?> opType,
java.lang.String propName,
java.lang.Object propValue,
java.lang.Throwable ex) |
Creates a
ConfigurationErrorEvent object based on the passed in
parameters. |
| Modifier and Type | Method | Description |
|---|---|---|
protected ConfigurationErrorEvent |
BaseEventSource.createErrorEvent(EventType<? extends ConfigurationErrorEvent> type,
EventType<?> opType,
java.lang.String propName,
java.lang.Object propValue,
java.lang.Throwable ex) |
Creates a
ConfigurationErrorEvent object based on the passed in
parameters. |
| Constructor | Description |
|---|---|
ConfigurationErrorEvent(java.lang.Object source,
EventType<? extends ConfigurationErrorEvent> eventType,
EventType<?> operationType,
java.lang.String propName,
java.lang.Object propValue,
java.lang.Throwable cause) |
Creates a new instance of
ConfigurationErrorEvent and sets all
its properties. |
Copyright © 2001–2018. All rights reserved.