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 InstallExtensionTask

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

public class InstallExtensionTask
extends AtomicTask

Atomic task that extracts and installs an extension.


Constructor Summary
InstallExtensionTask()
           
InstallExtensionTask(java.lang.String zipFile, java.lang.String destinationDir, boolean deleteZip)
           
 
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

InstallExtensionTask

public InstallExtensionTask()

InstallExtensionTask

public InstallExtensionTask(java.lang.String zipFile,
                            java.lang.String destinationDir,
                            boolean deleteZip)
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.