@Component public class AdminTaskManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdminTaskManager.AdminTask
An Admin taks that can be completed.
|
static class |
AdminTaskManager.AdminTaskLists
Admin task lists.
|
static interface |
AdminTaskManager.Condition
A condition for a task indicating if something has been done or not and also an indicator that the task is
enabled to be done.
|
static class |
AdminTaskManager.DoMoreTaskList
The 'do more' task list.
|
static class |
AdminTaskManager.GettingStartedTaskList
The getting started task list.
|
static class |
AdminTaskManager.TaskCondition
Base class for conditions.
|
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_ACCOUNT_CREDENTIALS_TASK_NAME |
static String |
APP_PROPERTIES_TASK_NAME |
Constructor and Description |
---|
AdminTaskManager(AdminTaskUserPropertyManager adminTaskUserPropertyManager,
ProjectManager projectManager,
UserUtil userUtil,
FeatureManager featureManager,
BonfireLicenseChecker bonfireLicenseChecker,
GreenhopperLicenseChecker greenhopperLicenseChecker,
IssueManager issueManager,
PostSetupAdminTasksConditions postSetupConditions) |
Modifier and Type | Method and Description |
---|---|
AdminTaskManager.AdminTaskLists |
getAdminTaskLists(com.atlassian.crowd.embedded.api.User user)
Get the admin task lists for the supplied user.
|
boolean |
isTaskCompleted(com.atlassian.crowd.embedded.api.User user,
String taskName,
AdminTaskManager.Condition condition)
If the task has been manually marked as completed or incomplete then use the stored value.
|
boolean |
isTaskEnabled(AdminTaskManager.Condition condition)
Is the named task enabled?
|
boolean |
isTaskListDismissed(com.atlassian.crowd.embedded.api.User user,
String taskListName)
Is the named task list disabled for the specified user?
|
void |
setTaskListDimissed(com.atlassian.crowd.embedded.api.User user,
String taskListName,
boolean dismissed)
Set the named task list for the supplied user to be dismissed or not.
|
void |
setTaskMarkedAsCompleted(com.atlassian.crowd.embedded.api.User user,
String taskName,
boolean done)
Mark a task for a user as done (or not).
|
public static final String ADMIN_ACCOUNT_CREDENTIALS_TASK_NAME
public static final String APP_PROPERTIES_TASK_NAME
public AdminTaskManager(AdminTaskUserPropertyManager adminTaskUserPropertyManager, ProjectManager projectManager, UserUtil userUtil, FeatureManager featureManager, BonfireLicenseChecker bonfireLicenseChecker, GreenhopperLicenseChecker greenhopperLicenseChecker, IssueManager issueManager, PostSetupAdminTasksConditions postSetupConditions)
public void setTaskListDimissed(com.atlassian.crowd.embedded.api.User user, String taskListName, boolean dismissed)
public boolean isTaskListDismissed(com.atlassian.crowd.embedded.api.User user, String taskListName)
public void setTaskMarkedAsCompleted(com.atlassian.crowd.embedded.api.User user, String taskName, boolean done)
public boolean isTaskCompleted(com.atlassian.crowd.embedded.api.User user, String taskName, AdminTaskManager.Condition condition)
public boolean isTaskEnabled(AdminTaskManager.Condition condition)
public AdminTaskManager.AdminTaskLists getAdminTaskLists(com.atlassian.crowd.embedded.api.User user)
Copyright © 2002-2015 Atlassian. All Rights Reserved.