|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.global.TaskChain<T>
public class TaskChain<T>
Executes a chain of TransactionalTask objects in sequential order. If there are exceptions thrown during the
execution, we roll back through the chain, undoing each task.
| Constructor Summary | |
|---|---|
TaskChain(TransactionalTask<T>... tasks)
|
|
| Method Summary | |
|---|---|
void |
execute(T state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskChain(TransactionalTask<T>... tasks)
| Method Detail |
|---|
public void execute(T state)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||