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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
maintenanceMaintenance mode flag
- 
bannerBanner flag
- 
messageMaintenance message
 
- 
- 
Constructor Details- 
MaintenanceModeRequestpublic MaintenanceModeRequest()
 
- 
- 
Method Details- 
getMaintenanceMaintenance mode flag. True to activate maintenancemode, false to deactivate maintenancemode- Returns:
- the maintenance
 
- 
setMaintenanceSet maintenance mode flag- Parameters:
- maintenance- the maintenance to set
- Returns:
- fluent API
 
- 
getBannerFlag to show the maintenance message in the banner- Returns:
- banner flag
 
- 
setBannerSet the banner flag- Parameters:
- banner- flag
- Returns:
- fluent API
 
- 
getMessageMaintenance 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
 
- 
setMessageSet the maintenance message- Parameters:
- message- the message to set
- Returns:
- fluent API
 
 
-