com.atlassian.confluence.admin.criteria
Class DefaultWritableDirectoryExistsCriteria
java.lang.Object
com.atlassian.confluence.admin.criteria.DefaultWritableDirectoryExistsCriteria
- All Implemented Interfaces:
- AdminConfigurationCriteria, WritableDirectoryExistsCriteria
public class DefaultWritableDirectoryExistsCriteria
- extends java.lang.Object
- implements AdminConfigurationCriteria, WritableDirectoryExistsCriteria
Criteria for checking that we have a directory we can add users to.
Note: will get it wrong if Confluence thinks it can write to the directory, but the directory disagrees. This
happens with Remote Crowd directories.
- Since:
- 4.2.7
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWritableDirectoryExistsCriteria
public DefaultWritableDirectoryExistsCriteria(SettingsManager settingsManager,
com.atlassian.crowd.embedded.api.ApplicationFactory applicationFactory,
com.atlassian.crowd.manager.permission.PermissionManager permissionManager)
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- Specified by:
isMet in interface WritableDirectoryExistsCriteria
- Returns:
- true if the acceptance criteria is met, false otherwise.
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface AdminConfigurationCriteria
- Returns:
- A human-friendly representation of the current value of the admin configuration.
hasValue
public boolean hasValue()
- Specified by:
hasValue in interface AdminConfigurationCriteria
- Returns:
- true if the task has a value which can be configured.
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-2014 Atlassian. All Rights Reserved.