Uses of Class
org.apache.commons.configuration2.event.EventType
-
Packages that use EventType Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfigurationobjects.org.apache.commons.configuration2.builder.combined A package containing the implementation of the builder for combined configurations.org.apache.commons.configuration2.event This package contains interfaces and classes for receiving notifications about changes at configurations.org.apache.commons.configuration2.reloading This package contains classes and interfaces related to the reloading mechanism. -
-
Uses of EventType in org.apache.commons.configuration2
Fields in org.apache.commons.configuration2 declared as EventType Modifier and Type Field Description static EventType<ConfigurationEvent>CombinedConfiguration. COMBINED_INVALIDATEConstant for the event type fired when the internal node structure of a combined configuration becomes invalid.Methods in org.apache.commons.configuration2 with parameters of type EventType Modifier and Type Method Description <T extends Event>
voidDynamicCombinedConfiguration. addEventListener(EventType<T> eventType, EventListener<? super T> listener)<T extends Event>
voidPatternSubtreeConfigurationWrapper. addEventListener(EventType<T> eventType, EventListener<? super T> listener)<T extends Event>
Collection<EventListener<? super T>>PatternSubtreeConfigurationWrapper. getEventListeners(EventType<T> eventType)<T extends Event>
booleanDynamicCombinedConfiguration. removeEventListener(EventType<T> eventType, EventListener<? super T> listener)<T extends Event>
booleanPatternSubtreeConfigurationWrapper. removeEventListener(EventType<T> eventType, EventListener<? super T> listener) -
Uses of EventType in org.apache.commons.configuration2.builder
Fields in org.apache.commons.configuration2.builder declared as EventType Modifier and Type Field Description static EventType<ConfigurationBuilderEvent>ConfigurationBuilderEvent. ANYThe common super type for all events related to configuration builders.static EventType<ConfigurationBuilderEvent>ConfigurationBuilderEvent. CONFIGURATION_REQUESTThe specific event type for configuration request events.static EventType<ConfigurationBuilderEvent>ConfigurationBuilderEvent. RESETThe specific event type for builder reset events.static EventType<ConfigurationBuilderResultCreatedEvent>ConfigurationBuilderResultCreatedEvent. RESULT_CREATEDThe specialized event type for a newly created result configuration.Methods in org.apache.commons.configuration2.builder with parameters of type EventType Modifier and Type Method Description <E extends Event>
voidBasicConfigurationBuilder. addEventListener(EventType<E> eventType, EventListener<? super E> listener)Adds an event listener for the specified event type.<T extends Event>
EventListenerParametersEventListenerParameters. addEventListener(EventType<T> eventType, EventListener<? super T> listener)Adds an event listener of the specified event type to this object.protected <E extends Event>
voidBasicConfigurationBuilder. installEventListener(EventType<E> eventType, EventListener<? super E> listener)Adds the specified event listener to this object.<E extends Event>
booleanBasicConfigurationBuilder. removeEventListener(EventType<E> eventType, EventListener<? super E> listener)Removes the event listener registration for the given event type and listener.Constructors in org.apache.commons.configuration2.builder with parameters of type EventType Constructor Description ConfigurationBuilderEvent(ConfigurationBuilder<?> source, EventType<? extends ConfigurationBuilderEvent> evType)Creates a new instance ofConfigurationBuilderEventand sets basic properties.ConfigurationBuilderResultCreatedEvent(ConfigurationBuilder<?> source, EventType<? extends ConfigurationBuilderResultCreatedEvent> evType, ImmutableConfiguration createdConfiguration)Creates a new instance ofConfigurationBuilderResultCreatedEventand initializes its properties. -
Uses of EventType in org.apache.commons.configuration2.builder.combined
Methods in org.apache.commons.configuration2.builder.combined with parameters of type EventType Modifier and Type Method Description <E extends Event>
voidMultiFileConfigurationBuilder. addEventListener(EventType<E> eventType, EventListener<? super E> l)Adds an event listener for the specified event type.<E extends Event>
booleanMultiFileConfigurationBuilder. removeEventListener(EventType<E> eventType, EventListener<? super E> l)Removes the event listener registration for the given event type and listener. -
Uses of EventType in org.apache.commons.configuration2.event
Fields in org.apache.commons.configuration2.event declared as EventType Modifier and Type Field Description static EventType<ConfigurationEvent>ConfigurationEvent. ADD_NODESConstant for the event type for an add nodes operation.static EventType<ConfigurationEvent>ConfigurationEvent. ADD_PROPERTYConstant for the event type for an add property operation.static EventType<ConfigurationErrorEvent>ConfigurationErrorEvent. ANYConstant for the common event type for all error events.static EventType<ConfigurationEvent>ConfigurationEvent. ANYConstant for the common super type of all configuration update events.static EventType<Event>Event. ANYThe root event type for all configuration-related events.static EventType<ConfigurationEvent>ConfigurationEvent. ANY_HIERARCHICALConstant for the common base event type for all hierarchical update events.static EventType<ConfigurationEvent>ConfigurationEvent. CLEARConstant for the event type for a clear operation.static EventType<ConfigurationEvent>ConfigurationEvent. CLEAR_PROPERTYConstant for the event type for a clear property operation.static EventType<ConfigurationEvent>ConfigurationEvent. CLEAR_TREEConstant for the event type for a clear tree operation.static EventType<ConfigurationErrorEvent>ConfigurationErrorEvent. READConstant for the event type indicating a read error.static EventType<ConfigurationEvent>ConfigurationEvent. SET_PROPERTYConstant for the event type for a set property operation.static EventType<ConfigurationEvent>ConfigurationEvent. SUBNODE_CHANGEDConstant for the event type indicating a change on a sub configuration.static EventType<ConfigurationErrorEvent>ConfigurationErrorEvent. WRITEConstant for the event type indicating a write error.Methods in org.apache.commons.configuration2.event that return EventType Modifier and Type Method Description EventType<?>ConfigurationErrorEvent. getErrorOperationType()Gets theEventTypeof the operation which caused this error.EventType<? extends Event>Event. getEventType()Gets the type of this event.EventType<T>EventListenerRegistrationData. getEventType()Gets the event type for this listener registration.EventType<? super T>EventType. getSuperType()Gets the super event type.Methods in org.apache.commons.configuration2.event that return types with arguments of type EventType Modifier and Type Method Description static Set<EventType<?>>EventType. fetchSuperEventTypes(EventType<?> eventType)Returns a set with all event types that are super types of the specified type.Methods in org.apache.commons.configuration2.event with parameters of type EventType Modifier and Type Method Description <T extends Event>
voidBaseEventSource. addEventListener(EventType<T> eventType, EventListener<? super T> listener)<T extends Event>
voidEventListenerList. addEventListener(EventType<T> type, EventListener<? super T> listener)Adds an event listener for the specified event type.<T extends Event>
voidEventSource. addEventListener(EventType<T> eventType, EventListener<? super T> listener)Adds an event listener for the specified event type.protected ConfigurationErrorEventBaseEventSource. createErrorEvent(EventType<? extends ConfigurationErrorEvent> type, EventType<?> opType, String propName, Object propValue, Throwable ex)Creates aConfigurationErrorEventobject based on the passed in parameters.protected <T extends ConfigurationEvent>
ConfigurationEventBaseEventSource. createEvent(EventType<T> type, String propName, Object propValue, boolean before)Creates aConfigurationEventobject based on the passed in parameters.static Set<EventType<?>>EventType. fetchSuperEventTypes(EventType<?> eventType)Returns a set with all event types that are super types of the specified type.<T extends ConfigurationErrorEvent>
voidBaseEventSource. fireError(EventType<T> eventType, EventType<?> operationType, String propertyName, Object propertyValue, Throwable cause)Creates an error event object and delivers it to all registered error listeners of a matching type.protected <T extends ConfigurationEvent>
voidBaseEventSource. fireEvent(EventType<T> type, String propName, Object propValue, boolean before)Creates an event object and delivers it to all registered event listeners.<T extends Event>
EventListenerList.EventListenerIterator<T>EventListenerList. getEventListenerIterator(EventType<T> eventType)Gets a specialized iterator for obtaining all event listeners stored in this list which are compatible with the specified event type.<T extends Event>
Collection<EventListener<? super T>>BaseEventSource. getEventListeners(EventType<T> eventType)Gets a collection with all event listeners of the specified event type that are currently registered at this object.<T extends Event>
Iterable<EventListener<? super T>>EventListenerList. getEventListeners(EventType<T> eventType)Gets anIterableallowing access to all event listeners stored in this list which are compatible with the specified event type.<T extends Event>
List<EventListenerRegistrationData<? extends T>>EventListenerList. getRegistrationsForSuperType(EventType<T> eventType)Gets a list withEventListenerRegistrationDataobjects for all event listener registrations of the specified event type or an event type having this type as super type (directly or indirectly).static booleanEventType. isInstanceOf(EventType<?> derivedType, EventType<?> baseType)Checks whether an event type is derived from another type.<T extends Event>
booleanBaseEventSource. removeEventListener(EventType<T> eventType, EventListener<? super T> listener)<T extends Event>
booleanEventListenerList. removeEventListener(EventType<T> eventType, EventListener<? super T> listener)Removes the event listener registration for the given event type and listener.<T extends Event>
booleanEventSource. removeEventListener(EventType<T> eventType, EventListener<? super T> listener)Removes the event listener registration for the given event type and listener.Constructors in org.apache.commons.configuration2.event with parameters of type EventType Constructor Description ConfigurationErrorEvent(Object source, EventType<? extends ConfigurationErrorEvent> eventType, EventType<?> operationType, String propName, Object propValue, Throwable cause)Creates a new instance ofConfigurationErrorEventand sets all its properties.ConfigurationEvent(Object source, EventType<? extends ConfigurationEvent> type, String propertyName, Object propertyValue, boolean beforeUpdate)Creates a new instance ofConfigurationEventand initializes it.Event(Object source, EventType<? extends Event> evType)Creates a new instance ofEventand sets basic properties.EventListenerRegistrationData(EventType<T> type, EventListener<? super T> lstnr)Creates a new instance ofEventListenerRegistrationData.EventType(EventType<? super T> superEventType, String typeName)Creates a new instance ofEventTypeand initializes it with the super type and a type name. -
Uses of EventType in org.apache.commons.configuration2.reloading
Fields in org.apache.commons.configuration2.reloading declared as EventType Modifier and Type Field Description static EventType<ReloadingEvent>ReloadingEvent. ANYThe common event super type for all reloading events.Methods in org.apache.commons.configuration2.reloading with parameters of type EventType Modifier and Type Method Description <T extends Event>
voidReloadingController. addEventListener(EventType<T> eventType, EventListener<? super T> listener)Adds an event listener for the specified event type.<T extends Event>
booleanReloadingController. removeEventListener(EventType<T> eventType, EventListener<? super T> listener)
-