public class DefaultAdminTaskConfig extends Object implements AdminTaskConfig
TASK_PREFIX
Constructor and Description |
---|
DefaultAdminTaskConfig(String key) |
DefaultAdminTaskConfig(String key,
AdminConfigurationCriteria adminConfigurationCriteria) |
DefaultAdminTaskConfig(String key,
AdminConfigurationCriteria adminConfigurationCriteria,
List<String> configurationUris) |
DefaultAdminTaskConfig(String key,
AdminConfigurationCriteria adminConfigurationCriteria,
String configurationUri) |
Modifier and Type | Method and Description |
---|---|
String |
getActionTextKey() |
AdminConfigurationCriteria |
getAdminConfigurationCriteria()
A system-verifiable success condition for this admin task.
|
List<String> |
getAllConfigurationUris()
A collection of all links to admin configuration pages stored in this admin task config.
|
String |
getConfigurationCurrentValueKey() |
String |
getDescriptionKey() |
String |
getFirstConfigurationUri()
The first admin configuration page link stored in this task config.
|
String |
getKey()
The key for the admin task.
|
String |
getTitleKey() |
public DefaultAdminTaskConfig(String key)
public DefaultAdminTaskConfig(String key, AdminConfigurationCriteria adminConfigurationCriteria) throws IllegalArgumentException
IllegalArgumentException
public DefaultAdminTaskConfig(String key, AdminConfigurationCriteria adminConfigurationCriteria, String configurationUri) throws IllegalArgumentException
IllegalArgumentException
public DefaultAdminTaskConfig(String key, AdminConfigurationCriteria adminConfigurationCriteria, List<String> configurationUris) throws IllegalArgumentException
IllegalArgumentException
public String getKey()
AdminTaskConfig
getKey
in interface AdminTaskConfig
public String getTitleKey()
getTitleKey
in interface AdminTaskConfig
public String getDescriptionKey()
getDescriptionKey
in interface AdminTaskConfig
public String getActionTextKey()
getActionTextKey
in interface AdminTaskConfig
public String getConfigurationCurrentValueKey()
getConfigurationCurrentValueKey
in interface AdminTaskConfig
public AdminConfigurationCriteria getAdminConfigurationCriteria()
AdminTaskConfig
getAdminConfigurationCriteria
in interface AdminTaskConfig
AdminConfigurationCriteria
that encapsulates the success criteria for this admin task.public String getFirstConfigurationUri()
AdminTaskConfig
getFirstConfigurationUri
in interface AdminTaskConfig
getAllConfigurationUris().isEmpty()
is true.public List<String> getAllConfigurationUris()
AdminTaskConfig
getAllConfigurationUris
in interface AdminTaskConfig
Copyright © 2003–2017 Atlassian. All rights reserved.