Class AccessModeResource


  • public class AccessModeResource
    extends Object
    Backdoor REST resource for toggling read-only mode
    • Constructor Detail

      • AccessModeResource

        public AccessModeResource​(AccessModeService accessModeService,
                                  SettingsManager settingsManager,
                                  com.atlassian.event.api.EventPublisher eventPublisher)
    • Method Detail

      • toggleReadOnlyMode

        public void toggleReadOnlyMode​(boolean enabled)
                                throws com.atlassian.config.ConfigurationException
        Throws:
        com.atlassian.config.ConfigurationException