Interface AdminTaskConfig
-
- All Known Implementing Classes:
DefaultAdminTaskConfig
public interface AdminTaskConfig
Encapsulates the non-serializable system components of anAdminTask
.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
TASK_PREFIX
The prefix that all admin task keys will begin with.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
TASK_PREFIX
static final String TASK_PREFIX
The prefix that all admin task keys will begin with.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
String getKey()
The key for the admin task. Used as a handle to store and retrieve both the metadata for an admin task and i18n strings for the task.- Returns:
- The string key for this admin task.
-
getTitleKey
String getTitleKey()
-
getDescriptionKey
String getDescriptionKey()
-
getActionTextKey
String getActionTextKey()
-
getConfigurationCurrentValueKey
String getConfigurationCurrentValueKey()
-
getAdminConfigurationCriteria
AdminConfigurationCriteria getAdminConfigurationCriteria()
A system-verifiable success condition for this admin task.- Returns:
- an
AdminConfigurationCriteria
that encapsulates the success criteria for this admin task.
-
getFirstConfigurationUri
String getFirstConfigurationUri()
The first admin configuration page link stored in this task config.- Returns:
- a string for the first link of this task config,
or null if
getAllConfigurationUris().isEmpty()
is true.
-
-