public class DefaultTasksManager extends Object implements TasksManager
TasksManager
.USER_PROFILE_SAVE_TASK_MESSAGE_KEY, WIKIPAGE_PRESAVE_TASK_MESSAGE_KEY, WIKIPAGE_SAVE_TASK_MESSAGE_KEY
Constructor and Description |
---|
DefaultTasksManager() |
Modifier and Type | Method and Description |
---|---|
Step |
buildPreSaveWikiPageTask(WikiContext context,
String proposedText)
Builds a pre-save WikiPage task.
|
Step |
buildSaveUserProfileTask(WikiEngine engine,
Locale loc)
Builds a save user profile task.
|
Step |
buildSaveWikiPageTask()
Builds a save WikiPage task.
|
public DefaultTasksManager()
public Step buildPreSaveWikiPageTask(WikiContext context, String proposedText)
buildPreSaveWikiPageTask
in interface TasksManager
context
- associated wiki context.proposedText
- text proposed to be saved on the wiki page.public Step buildSaveWikiPageTask()
buildSaveWikiPageTask
in interface TasksManager
public Step buildSaveUserProfileTask(WikiEngine engine, Locale loc)
buildSaveUserProfileTask
in interface TasksManager
engine
- associated wiki context.loc
- text proposed to be saved on the wiki page.Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.