com.ptc.windchill.upgrade.tool
Class AbstractStateWithThreadedWork.Outcome
java.lang.Object
com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork.Outcome
- Enclosing class:
- AbstractStateWithThreadedWork
- public final class AbstractStateWithThreadedWork.Outcome
- extends Object
Result object for threaded work.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canceled_
private boolean canceled_
resultObject_
private Object resultObject_
AbstractStateWithThreadedWork.Outcome
public AbstractStateWithThreadedWork.Outcome(boolean success)
- Create an outcome with no result object.
AbstractStateWithThreadedWork.Outcome
public AbstractStateWithThreadedWork.Outcome(boolean success,
Object result_object)
- Create an outcome with a result object that will be attached to the CANCEL or COMPLETE event.
wasCanceled
public final boolean wasCanceled()
wasSuccessful
public final boolean wasSuccessful()
getResultObject
public final Object getResultObject()