Modifier and Type | Method and Description |
---|---|
void |
after(SchedulingContext sc)
Called after the
Task is executed. |
void |
before(SchedulingContext sc)
Called before the
Task is executed. |
void |
onException(SchedulingContext sc,
Exception e)
Called if any exception occurs.
|
void before(SchedulingContext sc)
Task
is executed.sc
- the associated scheduling contextvoid after(SchedulingContext sc)
Task
is executed.sc
- the associated scheduling contextvoid onException(SchedulingContext sc, Exception e)
sc
- the associated scheduling contexte
- the exception thrown by the taskCopyright © 2013-2018–2019 SeedStack. All rights reserved.