Interface TransactionalTask<T>

All Known Implementing Classes:
AbstractTransactionalTask

public interface TransactionalTask<T>
Encapsulates a task that should be "transactional" in that the task can be undone at a later time given a specified state.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doTask(T state)
     
    void
    undoTask(T state)