|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ideimpl.webupdate.task.AtomicTask
oracle.ideimpl.webupdate.task.DeleteFile
public class DeleteFile
Atomically delete a file. The file will be moved out of the way in perform() and actually physically deleted in commit().
| Constructor Summary | |
|---|---|
DeleteFile(java.io.File file) |
|
| 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 |
|---|
public DeleteFile(java.io.File file)
| Method Detail |
|---|
public void perform(TaskContext tc)
throws TaskFailedException
perform in class AtomicTaskTaskFailedException
public void rollback(TaskContext tc)
throws TaskFailedException
rollback in class AtomicTaskTaskFailedException
public void commit(TaskContext tc)
throws TaskFailedException
commit in class AtomicTaskTaskFailedException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||