public static class ListenersType.Listener
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<element name="event-firing-mode" type="{http://www.ehcache.org/v3}event-firing-type"/>
<element name="event-ordering-mode" type="{http://www.ehcache.org/v3}event-ordering-type"/>
<element name="events-to-fire-on" type="{http://www.ehcache.org/v3}event-type" maxOccurs="5"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
clazz |
protected EventFiringType |
eventFiringMode |
protected EventOrderingType |
eventOrderingMode |
protected java.util.List<EventType> |
eventsToFireOn |
| Constructor and Description |
|---|
Listener() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
EventFiringType |
getEventFiringMode()
Gets the value of the eventFiringMode property.
|
EventOrderingType |
getEventOrderingMode()
Gets the value of the eventOrderingMode property.
|
java.util.List<EventType> |
getEventsToFireOn()
Gets the value of the eventsToFireOn property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setEventFiringMode(EventFiringType value)
Sets the value of the eventFiringMode property.
|
void |
setEventOrderingMode(EventOrderingType value)
Sets the value of the eventOrderingMode property.
|
ListenersType.Listener |
withClazz(java.lang.String value) |
ListenersType.Listener |
withEventFiringMode(EventFiringType value) |
ListenersType.Listener |
withEventOrderingMode(EventOrderingType value) |
ListenersType.Listener |
withEventsToFireOn(java.util.Collection<EventType> values) |
ListenersType.Listener |
withEventsToFireOn(EventType... values) |
protected java.lang.String clazz
protected EventFiringType eventFiringMode
protected EventOrderingType eventOrderingMode
protected java.util.List<EventType> eventsToFireOn
public java.lang.String getClazz()
Stringpublic void setClazz(java.lang.String value)
value - allowed object is
Stringpublic EventFiringType getEventFiringMode()
EventFiringTypepublic void setEventFiringMode(EventFiringType value)
value - allowed object is
EventFiringTypepublic EventOrderingType getEventOrderingMode()
EventOrderingTypepublic void setEventOrderingMode(EventOrderingType value)
value - allowed object is
EventOrderingTypepublic java.util.List<EventType> getEventsToFireOn()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the eventsToFireOn property.
For example, to add a new item, do as follows:
getEventsToFireOn().add(newItem);
Objects of the following type(s) are allowed in the list
EventType
public ListenersType.Listener withClazz(java.lang.String value)
public ListenersType.Listener withEventFiringMode(EventFiringType value)
public ListenersType.Listener withEventOrderingMode(EventOrderingType value)
public ListenersType.Listener withEventsToFireOn(EventType... values)
public ListenersType.Listener withEventsToFireOn(java.util.Collection<EventType> values)