public class WritePropertiesFile extends AtomicTask
Constructor and Description |
---|
WritePropertiesFile(java.io.File file,
java.util.Properties oldProps,
java.util.Properties newProps) |
Modifier and Type | Method and Description |
---|---|
void |
perform(TaskContext tc)
Perform this task.
|
void |
rollback(TaskContext tc)
Roll this task back.
|
commit, getProperties, pause
public WritePropertiesFile(java.io.File file, java.util.Properties oldProps, java.util.Properties newProps)
public void perform(TaskContext tc) throws TaskFailedException
AtomicTask
perform
in class AtomicTask
TaskFailedException
public void rollback(TaskContext tc) throws TaskFailedException
AtomicTask
rollback
in class AtomicTask
TaskFailedException