public class ScheduleHookTask extends AtomicTask
| Constructor and Description |
|---|
ScheduleHookTask() |
ScheduleHookTask(java.lang.String hookClass,
java.lang.String hookRegistryFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(TaskContext tc)
Commit this task.
|
void |
perform(TaskContext tc)
Perform this task.
|
void |
rollback(TaskContext tc)
Roll this task back.
|
getProperties, pausepublic ScheduleHookTask()
public ScheduleHookTask(java.lang.String hookClass,
java.lang.String hookRegistryFile)
public void perform(TaskContext tc) throws TaskFailedException
AtomicTaskperform in class AtomicTaskTaskFailedExceptionpublic void rollback(TaskContext tc) throws TaskFailedException
AtomicTaskrollback in class AtomicTaskTaskFailedExceptionpublic void commit(TaskContext tc) throws TaskFailedException
AtomicTaskcommit in class AtomicTaskTaskFailedException