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()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addEvent(Event event)  | 
void | 
addEventFile(String eventFile)  | 
void | 
addLoadedEventFile(String relativePath,
                  Events events)  | 
boolean | 
equals(Object obj)  | 
Event | 
findFirstMatchingEvent(Event matchingEvent)  | 
Event | 
findFirstMatchingEvent(Events.EventCriteria criteria)  | 
<T> T | 
forEachEvent(T initial,
            Events.EventCallback<T> callback)  | 
List<String> | 
getEventFiles()  | 
List<Event> | 
getEvents()  | 
Global | 
getGlobal()  | 
Events | 
getLoadEventsByFile(String relativePath)  | 
EventOrdering | 
getOrdering()  | 
int | 
hashCode()  | 
void | 
initialize(Partition partition,
          EventOrdering eventOrdering)  | 
boolean | 
isSecureTag(String tag)  | 
Map<String,Long> | 
loadEventFiles(org.springframework.core.io.Resource configResource)  | 
void | 
loadEventFilesIfModified(org.springframework.core.io.Resource configResource,
                        Map<String,Long> lastModifiedEventFiles)  | 
boolean | 
removeEvent(Event event)  | 
boolean | 
removeEventFile(String eventFile)  | 
void | 
removeLoadedEventFile(String relativePath)  | 
void | 
save(org.springframework.core.io.Resource resource)  | 
void | 
saveEvents(org.springframework.core.io.Resource resource)  | 
void | 
setEventFiles(List<String> eventFiles)  | 
void | 
setEvents(List<Event> events)  | 
void | 
setGlobal(Global global)  | 
public Global getGlobal()
public void setGlobal(Global global)
public void addEvent(Event event)
public boolean removeEvent(Event event)
public void addEventFile(String eventFile)
public boolean removeEventFile(String eventFile)
public EventOrdering getOrdering()
public Map<String,Long> loadEventFiles(org.springframework.core.io.Resource configResource) throws IOException
IOExceptionpublic void loadEventFilesIfModified(org.springframework.core.io.Resource configResource,
                                     Map<String,Long> lastModifiedEventFiles)
                              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 © 2020. All rights reserved.