Class MaintenanceAPIImpl

  • All Implemented Interfaces:
    org.bonitasoft.engine.api.MaintenanceAPI

    public class MaintenanceAPIImpl
    extends java.lang.Object
    implements org.bonitasoft.engine.api.MaintenanceAPI
    This API gives access to maintenance administration tasks.
    • Constructor Detail

      • MaintenanceAPIImpl

        public MaintenanceAPIImpl()
    • Method Detail

      • getMaintenanceDetails

        public org.bonitasoft.engine.maintenance.MaintenanceDetails getMaintenanceDetails()
                                                                                   throws org.bonitasoft.engine.maintenance.MaintenanceDetailsNotFoundException,
                                                                                          org.bonitasoft.engine.platform.PlatformNotFoundException
        Specified by:
        getMaintenanceDetails in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.maintenance.MaintenanceDetailsNotFoundException
        org.bonitasoft.engine.platform.PlatformNotFoundException
      • enableMaintenanceMode

        public void enableMaintenanceMode()
                                   throws org.bonitasoft.engine.exception.UpdateException
        Specified by:
        enableMaintenanceMode in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.exception.UpdateException
      • disableMaintenanceMode

        public void disableMaintenanceMode()
                                    throws org.bonitasoft.engine.exception.UpdateException
        Specified by:
        disableMaintenanceMode in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.exception.UpdateException
      • updateMaintenanceMessage

        public void updateMaintenanceMessage​(java.lang.String message)
                                      throws org.bonitasoft.engine.exception.UpdateException
        Specified by:
        updateMaintenanceMessage in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.exception.UpdateException
      • enableMaintenanceMessage

        public void enableMaintenanceMessage()
                                      throws org.bonitasoft.engine.exception.UpdateException
        Specified by:
        enableMaintenanceMessage in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.exception.UpdateException
      • disableMaintenanceMessage

        public void disableMaintenanceMessage()
                                       throws org.bonitasoft.engine.exception.UpdateException
        Specified by:
        disableMaintenanceMessage in interface org.bonitasoft.engine.api.MaintenanceAPI
        Throws:
        org.bonitasoft.engine.exception.UpdateException