com.atlassian.confluence.admin.criteria
Interface AdminConfigurationCriteria

All Known Implementing Classes:
BackupsAreManualCriteria, BaseURLIsValidCriteria, MailServerExistsCriteria, 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
 boolean getIgnored()
           
 String getValue()
           
 boolean hasLiveValue()
           
 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.

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.


Copyright © 2003-2012 Atlassian. All Rights Reserved.