public class DefaultAdminTasklistManager extends Object implements AdminTasklistManager
Constructor and Description |
---|
DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager,
List<AdminTaskConfig> coreTasksConfigs,
boolean autoCompleteTasks,
SettingsManager settingsManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) |
Modifier and Type | Method and Description |
---|---|
List<AdminTask> |
getAllTasks()
Will retrieve all
AdminTask s stored in Confluence. |
AdminTask |
markTaskComplete(String key)
Marks an
AdminTask as being completed. |
AdminTask |
markTaskComplete(String key,
com.atlassian.user.User user)
Marks an
AdminTask as being completed. |
AdminTask |
markTaskIncomplete(String key) |
public DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager, List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
public List<AdminTask> getAllTasks()
AdminTasklistManager
AdminTask
s stored in Confluence.getAllTasks
in interface AdminTasklistManager
AdminTask
s stored in Confluence.public AdminTask markTaskComplete(String key)
AdminTasklistManager
AdminTask
as being completed.markTaskComplete
in interface AdminTasklistManager
key
- The unique identifier for the task you want to mark as completeAdminTask
. The time at which the task was completed will be recorded.public AdminTask markTaskComplete(String key, com.atlassian.user.User user)
AdminTasklistManager
AdminTask
as being completed.markTaskComplete
in interface AdminTasklistManager
key
- The unique identifier for the task you want to mark as completeuser
- The remote user who triggered the completion of the task.AdminTask
. The user and time at which the task was completed will be recorded.Copyright © 2003–2017 Atlassian. All rights reserved.