public class SaveUserProfileTask extends Task
Constructor and Description |
---|
SaveUserProfileTask(WikiEngine engine,
Locale loc)
Constructs a new Task for saving a user profile.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
execute()
Saves the user profile to the user database.
|
getActor, getSuccessor, setSuccessor
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageArguments, getMessageKey, getOutcome, getOwner, getStartTime, getSuccessor, getWorkflow, isCompleted, isStarted, setOutcome, setWorkflow, start
public SaveUserProfileTask(WikiEngine engine, Locale loc)
engine
- the wiki enginepublic Outcome execute() throws WikiException
execute
in interface Step
execute
in class AbstractStep
Outcome.STEP_COMPLETE
if the
task completed successfullyWikiException
- if the save did not complete for some reasonCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.