com.atlassian.confluence.admin.tasks
Class DefaultAdminTaskConfig

java.lang.Object
  extended by com.atlassian.confluence.admin.tasks.DefaultAdminTaskConfig
All Implemented Interfaces:
AdminTaskConfig

public class DefaultAdminTaskConfig
extends java.lang.Object
implements AdminTaskConfig


Field Summary
 
Fields inherited from interface com.atlassian.confluence.admin.tasks.AdminTaskConfig
TASK_PREFIX
 
Constructor Summary
DefaultAdminTaskConfig(java.lang.String key)
           
DefaultAdminTaskConfig(java.lang.String key, AdminConfigurationCriteria adminConfigurationCriteria)
           
DefaultAdminTaskConfig(java.lang.String key, AdminConfigurationCriteria adminConfigurationCriteria, java.util.List<java.lang.String> configurationUris)
           
DefaultAdminTaskConfig(java.lang.String key, AdminConfigurationCriteria adminConfigurationCriteria, java.lang.String configurationUri)
           
 
Method Summary
 java.lang.String getActionTextKey()
           
 AdminConfigurationCriteria getAdminConfigurationCriteria()
          A system-verifiable success condition for this admin task.
 java.util.List<java.lang.String> getAllConfigurationUris()
          A collection of all links to admin configuration pages stored in this admin task config.
 java.lang.String getConfigurationCurrentValueKey()
           
 java.lang.String getDescriptionKey()
           
 java.lang.String getFirstConfigurationUri()
          The first admin configuration page link stored in this task config.
 java.lang.String getKey()
          The key for the admin task.
 java.lang.String getTitleKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAdminTaskConfig

public DefaultAdminTaskConfig(java.lang.String key)

DefaultAdminTaskConfig

public DefaultAdminTaskConfig(java.lang.String key,
                              AdminConfigurationCriteria adminConfigurationCriteria)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

DefaultAdminTaskConfig

public DefaultAdminTaskConfig(java.lang.String key,
                              AdminConfigurationCriteria adminConfigurationCriteria,
                              java.lang.String configurationUri)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

DefaultAdminTaskConfig

public DefaultAdminTaskConfig(java.lang.String key,
                              AdminConfigurationCriteria adminConfigurationCriteria,
                              java.util.List<java.lang.String> configurationUris)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: AdminTaskConfig
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.

Specified by:
getKey in interface AdminTaskConfig
Returns:
The string key for this admin task.

getTitleKey

public java.lang.String getTitleKey()
Specified by:
getTitleKey in interface AdminTaskConfig

getDescriptionKey

public java.lang.String getDescriptionKey()
Specified by:
getDescriptionKey in interface AdminTaskConfig

getActionTextKey

public java.lang.String getActionTextKey()
Specified by:
getActionTextKey in interface AdminTaskConfig

getConfigurationCurrentValueKey

public java.lang.String getConfigurationCurrentValueKey()
Specified by:
getConfigurationCurrentValueKey in interface AdminTaskConfig

getAdminConfigurationCriteria

public AdminConfigurationCriteria getAdminConfigurationCriteria()
Description copied from interface: AdminTaskConfig
A system-verifiable success condition for this admin task.

Specified by:
getAdminConfigurationCriteria in interface AdminTaskConfig
Returns:
an AdminConfigurationCriteria that encapsulates the success criteria for this admin task.

getFirstConfigurationUri

public java.lang.String getFirstConfigurationUri()
Description copied from interface: AdminTaskConfig
The first admin configuration page link stored in this task config.

Specified by:
getFirstConfigurationUri in interface AdminTaskConfig
Returns:
a string for the first link of this task config, or null if getAllConfigurationUris().isEmpty() is true.

getAllConfigurationUris

public java.util.List<java.lang.String> getAllConfigurationUris()
Description copied from interface: AdminTaskConfig
A collection of all links to admin configuration pages stored in this admin task config.

Specified by:
getAllConfigurationUris in interface AdminTaskConfig
Returns:
A list of all admin configuration page links for this task config, sorted in the order they were added.


Copyright © 2003-2014 Atlassian. All Rights Reserved.