|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.global.AbstractLoggable com.atlassian.greenhopper.global.AbstractTransactionalTask<T>
public abstract class AbstractTransactionalTask<T>
Basic log-wrapping implementation of TransactionalTask
.
Field Summary |
---|
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable |
---|
logger |
Constructor Summary | |
---|---|
AbstractTransactionalTask()
|
Method Summary | |
---|---|
protected abstract void |
_doTask(T state)
|
protected abstract void |
_undoTask(T state)
|
void |
doTask(T state)
|
void |
undoTask(T state)
|
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable |
---|
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTransactionalTask()
Method Detail |
---|
public void doTask(T state) throws java.lang.Exception
doTask
in interface TransactionalTask<T>
java.lang.Exception
public void undoTask(T state) throws java.lang.Exception
undoTask
in interface TransactionalTask<T>
java.lang.Exception
protected abstract void _doTask(T state) throws java.lang.Exception
java.lang.Exception
protected abstract void _undoTask(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 |