|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.core.ListenerManagerImpl
public class ListenerManagerImpl
| Constructor Summary | |
|---|---|
ListenerManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addJobListener(JobListener jobListener,
List<Matcher<JobKey>> matchers)
Add the given to the Scheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers. |
void |
addJobListener(JobListener jobListener,
Matcher<JobKey>... matchers)
Add the given to the Scheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers. |
boolean |
addJobListenerMatcher(String listenerName,
Matcher<JobKey> matcher)
Add the given Matcher to the set of matchers for which the listener will receive events if ANY of the matchers match. |
void |
addSchedulerListener(SchedulerListener schedulerListener)
Register the given with the
Scheduler. |
void |
addTriggerListener(TriggerListener triggerListener,
List<Matcher<TriggerKey>> matchers)
Add the given to the Scheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers. |
void |
addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey>... matchers)
Add the given to the Scheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers. |
void |
addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey> matcher)
|
boolean |
addTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
Add the given Matcher to the set of matchers for which the listener will receive events if ANY of the matchers match. |
JobListener |
getJobListener(String name)
Get the that has the given name. |
List<Matcher<JobKey>> |
getJobListenerMatchers(String listenerName)
Get the set of Matchers for which the listener will receive events if ANY of the matchers match. |
List<JobListener> |
getJobListeners()
Get a List containing all of the s in
the Scheduler. |
List<SchedulerListener> |
getSchedulerListeners()
Get a List containing all of the s
registered with the Scheduler. |
TriggerListener |
getTriggerListener(String name)
Get the that has the given name. |
List<Matcher<TriggerKey>> |
getTriggerListenerMatchers(String listenerName)
Get the set of Matchers for which the listener will receive events if ANY of the matchers match. |
List<TriggerListener> |
getTriggerListeners()
Get a List containing all of the s
in the Scheduler. |
boolean |
removeJobListener(String name)
Remove the identified from the Scheduler. |
boolean |
removeJobListenerMatcher(String listenerName,
Matcher<JobKey> matcher)
Remove the given Matcher to the set of matchers for which the listener will receive events if ANY of the matchers match. |
boolean |
removeSchedulerListener(SchedulerListener schedulerListener)
Remove the given from the
Scheduler. |
boolean |
removeTriggerListener(String name)
Remove the identified from the Scheduler. |
boolean |
removeTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
Remove the given Matcher to the set of matchers for which the listener will receive events if ANY of the matchers match. |
boolean |
setJobListenerMatchers(String listenerName,
List<Matcher<JobKey>> matchers)
Set the set of Matchers for which the listener will receive events if ANY of the matchers match. |
boolean |
setTriggerListenerMatchers(String listenerName,
List<Matcher<TriggerKey>> matchers)
Set the set of Matchers for which the listener will receive events if ANY of the matchers match. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenerManagerImpl()
| Method Detail |
|---|
public void addJobListener(JobListener jobListener,
Matcher<JobKey>... matchers)
ListenerManagerJobListener to the Scheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers.
If no matchers are provided, the EverythingMatcher will be used.
addJobListener in interface ListenerManagerMatcher,
EverythingMatcher
public void addJobListener(JobListener jobListener,
List<Matcher<JobKey>> matchers)
ListenerManagerJobListener to the Scheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers.
If no matchers are provided, the EverythingMatcher will be used.
addJobListener in interface ListenerManagerMatcher,
EverythingMatcher
public boolean addJobListenerMatcher(String listenerName,
Matcher<JobKey> matcher)
ListenerManager
addJobListenerMatcher in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatcher - the additional matcher to apply for selecting events
public boolean removeJobListenerMatcher(String listenerName,
Matcher<JobKey> matcher)
ListenerManager
removeJobListenerMatcher in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatcher - the additional matcher to apply for selecting events
public List<Matcher<JobKey>> getJobListenerMatchers(String listenerName)
ListenerManager
getJobListenerMatchers in interface ListenerManagerlistenerName - the name of the listener to add the matcher to
public boolean setJobListenerMatchers(String listenerName,
List<Matcher<JobKey>> matchers)
ListenerManagerRemoves any existing matchers for the identified listener!
setJobListenerMatchers in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatchers - the matchers to apply for selecting events
public boolean removeJobListener(String name)
ListenerManagerJobListener from the Scheduler.
removeJobListener in interface ListenerManagerpublic List<JobListener> getJobListeners()
ListenerManagerJobListeners in
the Scheduler.
getJobListeners in interface ListenerManagerpublic JobListener getJobListener(String name)
ListenerManagerJobListener that has the given name.
getJobListener in interface ListenerManager
public void addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey>... matchers)
ListenerManagerTriggerListener to the Scheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers.
If no matcher is provided, the EverythingMatcher will be used.
addTriggerListener in interface ListenerManagerMatcher,
EverythingMatcher
public void addTriggerListener(TriggerListener triggerListener,
List<Matcher<TriggerKey>> matchers)
ListenerManagerTriggerListener to the Scheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers.
If no matcher is provided, the EverythingMatcher will be used.
addTriggerListener in interface ListenerManagerMatcher,
EverythingMatcher
public void addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey> matcher)
public boolean addTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
ListenerManager
addTriggerListenerMatcher in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatcher - the additional matcher to apply for selecting events
public boolean removeTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
ListenerManager
removeTriggerListenerMatcher in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatcher - the additional matcher to apply for selecting events
public List<Matcher<TriggerKey>> getTriggerListenerMatchers(String listenerName)
ListenerManager
getTriggerListenerMatchers in interface ListenerManagerlistenerName - the name of the listener to add the matcher to
public boolean setTriggerListenerMatchers(String listenerName,
List<Matcher<TriggerKey>> matchers)
ListenerManagerRemoves any existing matchers for the identified listener!
setTriggerListenerMatchers in interface ListenerManagerlistenerName - the name of the listener to add the matcher tomatchers - the matchers to apply for selecting events
public boolean removeTriggerListener(String name)
ListenerManagerTriggerListener from the Scheduler.
removeTriggerListener in interface ListenerManagerpublic List<TriggerListener> getTriggerListeners()
ListenerManagerTriggerListeners
in the Scheduler.
getTriggerListeners in interface ListenerManagerpublic TriggerListener getTriggerListener(String name)
ListenerManagerTriggerListener that has the given name.
getTriggerListener in interface ListenerManagerpublic void addSchedulerListener(SchedulerListener schedulerListener)
ListenerManagerSchedulerListener with the
Scheduler.
addSchedulerListener in interface ListenerManagerpublic boolean removeSchedulerListener(SchedulerListener schedulerListener)
ListenerManagerSchedulerListener from the
Scheduler.
removeSchedulerListener in interface ListenerManagerpublic List<SchedulerListener> getSchedulerListeners()
ListenerManagerSchedulerListeners
registered with the Scheduler.
getSchedulerListeners in interface ListenerManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||