public class Events extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
Events.EventCallback<T> |
static interface |
Events.EventCriteria |
Constructor and Description |
---|
Events() |
public EventOrdering getOrdering()
public void addEvent(Event event) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addEvent(int index, Event event) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addEventFile(String eventFile) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addEventFile(int index, String eventFile) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Enumeration<Event> enumerateEvent()
public Enumeration<String> enumerateEventFile()
public Event getEvent(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Event[] getEvent()
public int getEventCount()
public String getEventFile(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public String[] getEventFile()
public int getEventFileCount()
public Global getGlobal()
public boolean isValid()
public void marshal(Writer out)
public void removeAllEvent()
public void removeAllEventFile()
public boolean removeEvent(Event event)
public Event removeEventAt(int index)
public boolean removeEventFile(String eventFile)
public String removeEventFileAt(int index)
public void setEvent(int index, Event event) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void setEvent(Event[] events)
public void setEventFile(int index, String eventFile) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void setEventFile(String[] eventFiles)
public void setGlobal(Global global)
public void loadEventFiles(org.springframework.core.io.Resource configResource) throws IOException
IOException
public boolean isSecureTag(String tag)
public Event findFirstMatchingEvent(Events.EventCriteria criteria)
public <T> T forEachEvent(T initial, Events.EventCallback<T> callback)
public void initialize(Partition partition, EventOrdering eventOrdering)
public void removeLoadedEventFile(String relativePath)
public void saveEvents(org.springframework.core.io.Resource resource)
public void save(org.springframework.core.io.Resource resource)
Copyright © 2017. All rights reserved.