Interface AdminConfigurationCriteria
-
- All Known Implementing Classes:
BackupsAreManualCriteria
,BaseURLIsValidCriteria
,DefaultMailServerExistsCriteria
,DefaultWritableDirectoryExistsCriteria
,DefaultWritableDirectoryForGroupsExistsCriteria
,ExternalUserDirectoriesActiveCriteria
,IgnorableAdminTaskCriteria
,MoreThanOneUserCriteria
,RemigrationAdminTaskCriteria
public interface AdminConfigurationCriteria
Encapsulates select configuration parameters or values for Confluence and determines whether those parameters or values meet a specified programmatic acceptance criteria.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getIgnored()
String
getValue()
boolean
hasLiveValue()
boolean
hasValue()
boolean
isMet()
Whether the acceptance criteria is met or not for this admin configuration.void
setIgnored(boolean ignored)
-
-
-
Method Detail
-
isMet
boolean isMet()
Whether the acceptance criteria is met or not for this admin configuration.- Returns:
- true if the acceptance criteria is met, false otherwise.
-
hasValue
boolean hasValue()
- Returns:
- true if the task has a value which can be configured.
-
getValue
String getValue()
- Returns:
- A human-friendly representation of the current value of the admin configuration.
-
hasLiveValue
boolean hasLiveValue()
- Returns:
- Whether the value for this configuration criteria should always be queried as opposed to cached. Useful for getting live data instead of an 'accepted value' when an associated task is completed.
-
getIgnored
boolean getIgnored()
- Returns:
- true if the acceptance criteria for this configuration has been ignored by an end-user, false otherwise.
-
setIgnored
void setIgnored(boolean ignored)
- Parameters:
ignored
- whether this acceptance criteria should be ignored or not.
-
-