Class BackupsAreManualCriteria
- java.lang.Object
-
- com.atlassian.confluence.admin.criteria.IgnorableAdminTaskCriteria
-
- com.atlassian.confluence.admin.criteria.BackupsAreManualCriteria
-
- All Implemented Interfaces:
AdminConfigurationCriteria
public class BackupsAreManualCriteria extends IgnorableAdminTaskCriteria
Check whether the scheduled automatic backups for Confluence have been disabled.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description BackupsAreManualCriteria(SettingsManager settingsManager, ScheduledJobManager scheduledJobManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
boolean
hasLiveValue()
boolean
hasValue()
boolean
isMet()
Whether the acceptance criteria is met or not for this admin configuration.-
Methods inherited from class com.atlassian.confluence.admin.criteria.IgnorableAdminTaskCriteria
getIgnored, setIgnored
-
-
-
-
Constructor Detail
-
BackupsAreManualCriteria
public BackupsAreManualCriteria(SettingsManager settingsManager, ScheduledJobManager scheduledJobManager)
-
-
Method Detail
-
isMet
public boolean isMet()
Description copied from interface:AdminConfigurationCriteria
Whether the acceptance criteria is met or not for this admin configuration.- Specified by:
isMet
in interfaceAdminConfigurationCriteria
- Overrides:
isMet
in classIgnorableAdminTaskCriteria
- Returns:
- true if the acceptance criteria is met, false otherwise.
-
hasValue
public boolean hasValue()
- Specified by:
hasValue
in interfaceAdminConfigurationCriteria
- Overrides:
hasValue
in classIgnorableAdminTaskCriteria
- Returns:
- true if the task has a value which can be configured.
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceAdminConfigurationCriteria
- Overrides:
getValue
in classIgnorableAdminTaskCriteria
- Returns:
- A human-friendly representation of the current value of the admin configuration.
-
hasLiveValue
public boolean hasLiveValue()
- Specified by:
hasLiveValue
in interfaceAdminConfigurationCriteria
- Overrides:
hasLiveValue
in classIgnorableAdminTaskCriteria
- 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.
-
-