public class DeleteFile extends AtomicTask
| Constructor and Description | 
|---|
DeleteFile(java.io.File file)  | 
| 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 void perform(TaskContext tc) throws TaskFailedException
perform in class AtomicTaskTaskFailedExceptionpublic void rollback(TaskContext tc) throws TaskFailedException
rollback in class AtomicTaskTaskFailedExceptionpublic void commit(TaskContext tc) throws TaskFailedException
commit in class AtomicTaskTaskFailedException