- All Implemented Interfaces:
public class SaveWikiPageTask extends Task
- See Also:
- Serialized Form
Constructors Constructor Description
()Creates the Task.
Methods inherited from class org.apache.wiki.workflow.AbstractStep
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageKey, getOutcome, getStartTime, getSuccessor, getWorkflowContext, getWorkflowId, isCompleted, isStarted, setOutcome, setWorkflow, start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
SaveWikiPageTaskpublic SaveWikiPageTask()Creates the Task.
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
Outcome.STEP_ABORT). Processing instructions can do just about anything, such as executing custom business logic or changing the Step's final outcome via
Step.setOutcome(Outcome). A return value of
STEP_COMPLETEindicates that the instructions executed completely, without errors;
STEP_ABORTindicates that the Step and its parent Workflow should be aborted (that is, fail silently without error). If the execution step encounters any errors, it should throw a WikiException or a subclass.
Note that successful execution of this methods does not necessarily mean that the Step is considered "complete"; rather, it just means that it has executed. Therefore, it is possible that
executecould run multiple times.