com.atlassian.confluence.admin.criteria
Class ExternalUserDirectoriesActiveCriteria

java.lang.Object
  extended by com.atlassian.confluence.admin.criteria.ExternalUserDirectoriesActiveCriteria
All Implemented Interfaces:
AdminConfigurationCriteria

public class ExternalUserDirectoriesActiveCriteria
extends Object
implements AdminConfigurationCriteria

Checks if any User directories in additional to the Internal one are currently active.

Since:
4.3.1

Constructor Summary
ExternalUserDirectoriesActiveCriteria(com.atlassian.crowd.embedded.api.ApplicationFactory applicationFactory)
           
 
Method Summary
 boolean getIgnored()
           
 String getValue()
          Returns the name of the first non-Internal active Directory.
 boolean hasLiveValue()
           
 boolean hasValue()
           
 boolean isMet()
          Whether the acceptance criteria is met or not for this admin configuration.
 void setIgnored(boolean ignored)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalUserDirectoriesActiveCriteria

public ExternalUserDirectoriesActiveCriteria(com.atlassian.crowd.embedded.api.ApplicationFactory applicationFactory)
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 interface AdminConfigurationCriteria
Returns:
true if the acceptance criteria is met, false otherwise.

hasValue

public boolean hasValue()
Specified by:
hasValue in interface AdminConfigurationCriteria
Returns:
true if the task has a value which can be configured.

getValue

public String getValue()
Returns the name of the first non-Internal active Directory.

Specified by:
getValue in interface AdminConfigurationCriteria
Returns:

hasLiveValue

public boolean hasLiveValue()
Specified by:
hasLiveValue in interface AdminConfigurationCriteria
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

public boolean getIgnored()
Specified by:
getIgnored in interface AdminConfigurationCriteria
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:
setIgnored in interface AdminConfigurationCriteria
Parameters:
ignored - whether this acceptance criteria should be ignored or not.


Copyright © 2003-2013 Atlassian. All Rights Reserved.