Class MaintenanceAPIImpl

java.lang.Object
org.bonitasoft.engine.api.impl.MaintenanceAPIImpl
All Implemented Interfaces:
org.bonitasoft.engine.api.MaintenanceAPI

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

    • MaintenanceAPIImpl

      public MaintenanceAPIImpl()
  • Method Details

    • getServiceAccessor

      protected ServiceAccessor getServiceAccessor()
    • getMaintenanceDetails

      public org.bonitasoft.engine.maintenance.MaintenanceDetails getMaintenanceDetails() throws org.bonitasoft.engine.platform.PlatformNotFoundException
      Specified by:
      getMaintenanceDetails in interface org.bonitasoft.engine.api.MaintenanceAPI
      Throws:
      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(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
    • getPlatformUpdateBuilder

      protected SPlatformUpdateBuilder getPlatformUpdateBuilder()