Class MoreThanOneUserCriteria
java.lang.Object
com.atlassian.confluence.admin.criteria.MoreThanOneUserCriteria
- All Implemented Interfaces:
AdminConfigurationCriteria
Checks whether there is at least two active users registered in Confluence.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()booleanbooleanhasValue()booleanisMet()Whether the acceptance criteria is met or not for this admin configuration.voidsetIgnored(boolean ignored)
-
Constructor Details
-
MoreThanOneUserCriteria
-
-
Method Details
-
isMet
public boolean isMet()Description copied from interface:AdminConfigurationCriteriaWhether the acceptance criteria is met or not for this admin configuration.- Specified by:
isMetin interfaceAdminConfigurationCriteria- Returns:
- true if the acceptance criteria is met, false otherwise.
-
hasValue
public boolean hasValue()- Specified by:
hasValuein interfaceAdminConfigurationCriteria- Returns:
- true if the task has a value which can be configured.
-
getValue
- Specified by:
getValuein interfaceAdminConfigurationCriteria- Returns:
- A human-friendly representation of the current value of the admin configuration.
-
getIgnored
public boolean getIgnored()- Specified by:
getIgnoredin interfaceAdminConfigurationCriteria- Returns:
- true if the acceptance criteria for this configuration has been ignored by an end-user, false otherwise.
-
setIgnored
public void setIgnored(boolean ignored) - Specified by:
setIgnoredin interfaceAdminConfigurationCriteria- Parameters:
ignored- whether this acceptance criteria should be ignored or not.
-
hasLiveValue
public boolean hasLiveValue()- Specified by:
hasLiveValuein interfaceAdminConfigurationCriteria- 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.
-