|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.admin.tasks.AdminTask
public class AdminTask
A discrete, actionable task that an administrator should be aware of.
An AdminTask aims to encapsulate goals around (correctly) affecting high-value changes to
Confluence that could or should be made in order to get the best out of Confluence.
At a glance, an AdminTask should provide an administrator with a clear, concise description for something that needs an administrator's attention. The title of the task should be a clear call to action for that task's goal.
An AdminTask must include goals which are automatically verifiable. This is accomplished
by injecting AdminConfigurationCriteria
in to an
AdminTask's AdminTaskConfig
.
Without success criteria, there is no way a user can satisfy or dismiss a task.
Once an AdminTask's goals have been addressed, the task is completed, and in doing so, the AdminTask records metadata for when the task was completed.
Tasks may be ignored (dismissed) by the admin. Note that tasks that are ignored are NOT also considered completed. It is up to the consuming service to decide whether to group ignored tasks with completed tasks.
All AdminTask objects are handled by the AdminTasklistManager
.
Constructor Summary | |
---|---|
AdminTask(AdminTaskConfig adminTaskConfig,
AdminTaskData adminTaskData)
|
Method Summary | |
---|---|
java.lang.String |
getActionTextKey()
|
AdminTaskConfig |
getAdminTaskConfig()
|
AdminTaskData |
getAdminTaskData()
|
java.util.List<java.lang.String> |
getAllConfigurationUris()
A collection of locations in Confluence at which the task's goals may be satisfied. |
java.util.Date |
getCompletedAt()
|
java.lang.String |
getCompletedByFullName()
|
java.lang.String |
getCompletedByUsername()
|
java.lang.String |
getConfigurationCurrentValueKey()
|
java.lang.String |
getConfiguredValue()
|
java.lang.String |
getDescriptionKey()
|
java.lang.String |
getFirstConfigurationUri()
A location in Confluence at which the task's goals may be satisfied. |
boolean |
getHasSuccessCriteria()
Check to see if this task has automatic success criteria or not, as defined by an AdminConfigurationCriteria . |
boolean |
getHasValue()
Whether the criteria has a value to display, such as "Current Status: Incomplete" or "Current Value: http://...". |
boolean |
getIsCompleted()
Whether this task has been completed. |
boolean |
getIsCriteriaMet()
Whether this task's success criteria have been met or not. |
java.lang.String |
getKey()
The unique handle for this admin task. |
java.lang.String |
getTitleKey()
|
boolean |
isIgnorable()
Whether this task can be ignored or not. |
boolean |
isIgnored()
Whether this task has been ignored. |
void |
setIgnored(boolean value)
Set whether this task should be ignored. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AdminTask(AdminTaskConfig adminTaskConfig, AdminTaskData adminTaskData)
Method Detail |
---|
public AdminTaskConfig getAdminTaskConfig()
public AdminTaskData getAdminTaskData()
public java.lang.String getKey()
AdminTaskConfig
.com.atlassian.confluence.admin.tasks.AdminTaskConfig#getKey()}
public java.lang.String getTitleKey()
public java.lang.String getActionTextKey()
public java.lang.String getDescriptionKey()
public java.lang.String getConfigurationCurrentValueKey()
public java.lang.String getFirstConfigurationUri()
com.atlassian.confluence.admin.tasks.AdminTaskConfig#getFirstConfigurationUri()}
public java.util.List<java.lang.String> getAllConfigurationUris()
com.atlassian.confluence.admin.tasks.AdminTaskConfig#getAllConfigurationUris()}
public boolean isIgnorable()
public boolean isIgnored()
com.atlassian.confluence.admin.criteria.AdminConfigurationCriteria#getIgnored()}
public void setIgnored(boolean value)
value
- set to true if this task should be ignored, or false to reinstate the task.com.atlassian.confluence.admin.criteria.AdminConfigurationCriteria#setIgnored(boolean)}
public boolean getHasValue()
public boolean getIsCompleted()
public java.util.Date getCompletedAt()
public java.lang.String getCompletedByFullName()
public java.lang.String getCompletedByUsername()
public boolean getHasSuccessCriteria()
AdminConfigurationCriteria
.
public java.lang.String getConfiguredValue()
getHasSuccessCriteria()
and AdminConfigurationCriteria.hasLiveValue()
return true.public boolean getIsCriteriaMet()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |