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
IndexOutOfBoundsExceptionpublic void addEvent(int index,
Event event)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addEventFile(String eventFile) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addEventFile(int index,
String eventFile)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Enumeration<Event> enumerateEvent()
public Enumeration<String> enumerateEventFile()
public Event getEvent(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Event[] getEvent()
public int getEventCount()
public String getEventFile(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic 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
IndexOutOfBoundsExceptionpublic void setEvent(Event[] events)
public void setEventFile(int index,
String eventFile)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setEventFile(String[] eventFiles)
public void setGlobal(Global global)
public void loadEventFiles(org.springframework.core.io.Resource configResource)
throws IOException
IOExceptionpublic 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 © 2015. All rights reserved.