public class TriggerFacade extends Object
Constructor and Description |
---|
TriggerFacade(ToolkitDSHolder toolkitDSHolder) |
Modifier and Type | Method and Description |
---|---|
boolean |
addGroup(String name) |
boolean |
addPausedGroup(String name) |
Collection<FiredTrigger> |
allFiredTriggers() |
Set<String> |
allPausedTriggersGroupNames() |
Set<TriggerKey> |
allTriggerKeys() |
Set<String> |
allTriggersGroupNames() |
boolean |
containsFiredTrigger(String key) |
boolean |
containsKey(TriggerKey key) |
TriggerWrapper |
get(TriggerKey key) |
FiredTrigger |
getFiredTrigger(String key) |
List<TriggerWrapper> |
getTriggerWrappersForCalendar(String calName) |
List<TriggerWrapper> |
getTriggerWrappersForJob(JobKey key) |
boolean |
hasGroup(String name) |
int |
numberOfTriggers() |
boolean |
pausedGroupsContain(String name) |
void |
put(TriggerKey key,
TriggerWrapper value) |
void |
putFiredTrigger(String key,
FiredTrigger value) |
TriggerWrapper |
remove(TriggerKey key) |
void |
removeAllPausedGroups(Collection<String> groups) |
FiredTrigger |
removeFiredTrigger(String key) |
boolean |
removeGroup(String name) |
boolean |
removePausedGroup(String name) |
public TriggerFacade(ToolkitDSHolder toolkitDSHolder)
public TriggerWrapper get(TriggerKey key)
public boolean containsKey(TriggerKey key)
public void put(TriggerKey key, TriggerWrapper value)
public TriggerWrapper remove(TriggerKey key)
public FiredTrigger getFiredTrigger(String key)
public boolean containsFiredTrigger(String key)
public void putFiredTrigger(String key, FiredTrigger value)
public FiredTrigger removeFiredTrigger(String key)
public boolean addGroup(String name)
public boolean hasGroup(String name)
public boolean removeGroup(String name)
public boolean addPausedGroup(String name)
public boolean pausedGroupsContain(String name)
public boolean removePausedGroup(String name)
public Set<TriggerKey> allTriggerKeys()
public Collection<FiredTrigger> allFiredTriggers()
public int numberOfTriggers()
public List<TriggerWrapper> getTriggerWrappersForJob(JobKey key)
public List<TriggerWrapper> getTriggerWrappersForCalendar(String calName)
public void removeAllPausedGroups(Collection<String> groups)
Copyright 2001-2019, Terracotta, Inc.