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, pause
public void perform(TaskContext tc) throws TaskFailedException
perform
in class AtomicTask
TaskFailedException
public void rollback(TaskContext tc) throws TaskFailedException
rollback
in class AtomicTask
TaskFailedException
public void commit(TaskContext tc) throws TaskFailedException
commit
in class AtomicTask
TaskFailedException