Class MaintenanceModeRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.MaintenanceModeRequest
- All Implemented Interfaces:
Serializable
Rest Model of the request to set/unset the maintenance mode
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFlag to show the maintenance message in the bannerMaintenance mode flag.Maintenance message.Set the banner flagsetMaintenance
(Boolean maintenance) Set maintenance mode flagsetMessage
(String message) Set the maintenance message
-
Field Details
-
maintenance
Maintenance mode flag -
banner
Banner flag -
message
Maintenance message
-
-
Constructor Details
-
MaintenanceModeRequest
public MaintenanceModeRequest()
-
-
Method Details
-
getMaintenance
Maintenance mode flag. True to activate maintenancemode, false to deactivate maintenancemode- Returns:
- the maintenance
-
setMaintenance
Set maintenance mode flag- Parameters:
maintenance
- the maintenance to set- Returns:
- fluent API
-
getBanner
Flag to show the maintenance message in the banner- Returns:
- banner flag
-
setBanner
Set the banner flag- Parameters:
banner
- flag- Returns:
- fluent API
-
getMessage
Maintenance message. The message will be shown on the login screen, when the maintenance mode is active, and/or in the banner, if the banner flag is set.- Returns:
- the message
-
setMessage
Set the maintenance message- Parameters:
message
- the message to set- Returns:
- fluent API
-