Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.ideimpl.webupdate.task
Class ScheduleHookTask

java.lang.Object
  extended by oracle.ideimpl.webupdate.task.AtomicTask
      extended by oracle.ideimpl.webupdate.task.ScheduleHookTask

public class ScheduleHookTask
extends AtomicTask

Atomic task that schedules a hook.


Constructor Summary
ScheduleHookTask()
           
ScheduleHookTask(java.lang.String hookClass, java.lang.String hookRegistryFile)
           
 
Method Summary
 void commit(TaskContext tc)
          Commit this task.
 void perform(TaskContext tc)
          Perform this task.
 void rollback(TaskContext tc)
          Roll this task back.
 
Methods inherited from class oracle.ideimpl.webupdate.task.AtomicTask
getProperties, pause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleHookTask

public ScheduleHookTask()

ScheduleHookTask

public ScheduleHookTask(java.lang.String hookClass,
                        java.lang.String hookRegistryFile)
Method Detail

perform

public void perform(TaskContext tc)
             throws TaskFailedException
Description copied from class: AtomicTask
Perform this task.

Specified by:
perform in class AtomicTask
Throws:
TaskFailedException

rollback

public void rollback(TaskContext tc)
              throws TaskFailedException
Description copied from class: AtomicTask
Roll this task back.

Specified by:
rollback in class AtomicTask
Throws:
TaskFailedException

commit

public void commit(TaskContext tc)
            throws TaskFailedException
Description copied from class: AtomicTask
Commit this task. This may be used if the work carried out in perform() creates backups or other temporary changes which must be committed only if all tasks in a set are successful.

Overrides:
commit in class AtomicTask
Throws:
TaskFailedException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.