Top Description Inners Fields Constructors Methods
ch.qos.logback.core.spi

public Class ConfigurationEvent

extends Object
Class Inheritance

This class configuration events which can be of various types such as CHANGE_DETECTED, CONFIGURATION_STARTED and CONFIGURATION_ENDED. Configuration events can be accompanied by supplemental data which can be null.
Since
1.3.6/1.4.6

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
pack-priv final Object
pack-priv final ConfigurationEvent.EventType

Constructor Summary

AccessConstructor and Description
private
ConfigurationEvent(ConfigurationEvent.EventType eventType, Object
supplemental data, can be null
data
)

Construct a ConfigurationEvent instance.

Method Summary

Modifier and TypeMethod and Description
public Object
public ConfigurationEvent.EventType
public static ConfigurationEvent
public static ConfigurationEvent
public static ConfigurationEvent
public static ConfigurationEvent
public static ConfigurationEvent
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

databack to summary
pack-priv final Object data
eventTypeback to summary
pack-priv final ConfigurationEvent.EventType eventType

Constructor Detail

ConfigurationEventback to summary
private ConfigurationEvent(ConfigurationEvent.EventType eventType, Object data)

Construct a ConfigurationEvent instance.

Parameters
data:Object

supplemental data, can be null

Method Detail

getDataback to summary
public Object getData()
getEventTypeback to summary
public ConfigurationEvent.EventType getEventType()
newConfigurationChangeDetectedEventback to summary
public static ConfigurationEvent newConfigurationChangeDetectedEvent(Object data)
newConfigurationChangeDetectorRegisteredEventback to summary
public static ConfigurationEvent newConfigurationChangeDetectorRegisteredEvent(Object data)
newConfigurationChangeDetectorRunningEventback to summary
public static ConfigurationEvent newConfigurationChangeDetectorRunningEvent(Object data)
newConfigurationEndedEventback to summary
public static ConfigurationEvent newConfigurationEndedEvent(Object data)
newConfigurationStartedEventback to summary
public static ConfigurationEvent newConfigurationStartedEvent(Object data)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
ch.qos.logback.core.spi back to summary

public final Enum ConfigurationEvent.EventType

extends Enum<ConfigurationEvent.EventType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ConfigurationEvent.EventType
public static final ConfigurationEvent.EventType
public static final ConfigurationEvent.EventType
public static final ConfigurationEvent.EventType
public static final ConfigurationEvent.EventType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ConfigurationEvent.EventType
public static ConfigurationEvent.EventType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CHANGE_DETECTEDback to summary
public static final ConfigurationEvent.EventType CHANGE_DETECTED
CHANGE_DETECTOR_REGISTEREDback to summary
public static final ConfigurationEvent.EventType CHANGE_DETECTOR_REGISTERED
CHANGE_DETECTOR_RUNNINGback to summary
public static final ConfigurationEvent.EventType CHANGE_DETECTOR_RUNNING
CONFIGURATION_ENDEDback to summary
public static final ConfigurationEvent.EventType CONFIGURATION_ENDED
CONFIGURATION_STARTEDback to summary
public static final ConfigurationEvent.EventType CONFIGURATION_STARTED

Constructor Detail

EventTypeback to summary
private EventType()

Method Detail

valueOfback to summary
public static ConfigurationEvent.EventType valueOf(String name)
valuesback to summary
public static ConfigurationEvent.EventType[] values()