org.dspace.xmlworkflow.state.actions
Class ActionResult
java.lang.Object
org.dspace.xmlworkflow.state.actions.ActionResult
public class ActionResult
- extends Object
A class that represent the result of an action
The result consists of 2 parts a type & and a result
The type is represented by an enum & can either be something like
TYPE_OUTCOME: we have a certain outcome so move to another action/step
TYPE_ERROR: an error has occured while processing the action
...
The optional results integer is used to determine
the next step once the action has completed
- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTCOME_COMPLETE
public static final int OUTCOME_COMPLETE
- See Also:
- Constant Field Values
ActionResult
public ActionResult(ActionResult.TYPE type,
int result)
ActionResult
public ActionResult(ActionResult.TYPE type)
getResult
public int getResult()
getType
public ActionResult.TYPE getType()
Copyright © 2011 DuraSpace. All Rights Reserved.