Class PlatformManager

java.lang.Object
org.bonitasoft.engine.platform.PlatformManager

@Component public class PlatformManager extends Object
Handle the lifecycle of the platform: start, stop.
  • Constructor Details

  • Method Details

    • getState

      public org.bonitasoft.engine.platform.PlatformState getState()
      Returns:
      the current state of the platform
    • stop

      public boolean stop() throws Exception
      Stop the platform
      Returns:
      true if the node was stopped, false if it was not stoppable (already stopped, starting or stopping)
      Throws:
      Exception
    • start

      public boolean start() throws Exception
      Start the platform and default tenant
      Returns:
      true if the node was started, false if it was not startable (already started, starting or stopping)
      Throws:
      Exception