Interface AccessModeManager
-
- All Known Implementing Classes:
DefaultAccessModeManager
@Internal public interface AccessModeManager
This interface should be used internally in core only- Since:
- 6.7.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCESS_MODE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessMode
getAccessMode()
boolean
isReadOnlyAccessModeEnabled()
boolean
shouldEnforceReadOnlyAccess()
void
updateAccessMode(AccessMode accessMode)
This method should be called by Confluence core services only
-
-
-
Field Detail
-
ACCESS_MODE
static final String ACCESS_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessMode
AccessMode getAccessMode()
- Returns:
- the maintenance info
- Since:
- 6.8.0
-
updateAccessMode
void updateAccessMode(AccessMode accessMode) throws com.atlassian.config.ConfigurationException
This method should be called by Confluence core services only- Parameters:
accessMode
- update the access mode for Confluence- Throws:
com.atlassian.config.ConfigurationException
- Since:
- 6.7.0
-
isReadOnlyAccessModeEnabled
boolean isReadOnlyAccessModeEnabled()
- Returns:
- true if the current access mode is READ_ONLY
- Since:
- 6.8.0
-
shouldEnforceReadOnlyAccess
boolean shouldEnforceReadOnlyAccess()
- Returns:
- true if we should enforce read only access (without exemptions)
- Since:
- 6.9.0
-
-