public interface MaintenanceInfo
ScopeInfo
can additionally implement this interface to signal the current maintenance status of a scope.
To keep the ScopeInfo
class small and conceise, this interface is obtained via the Adapters
framework by calling ScopeInfo.tryAs(Class)
. Therefore either a subclass implementing this interface
has to be used or an appropriate Transformer
has to be created.
Modifier and Type | Method and Description |
---|---|
boolean |
isLocked()
Determines if this scope is currently locked / closed for maintenance or disaster reasons.
|
Message |
maintenanceMessage()
Returns a message to be shown to all users indicating the current maintenance state of the current scope.
|
Copyright © 2018. All rights reserved.