Class PlatformVersionChecker

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

@Component public class PlatformVersionChecker extends Object
Author:
Matthieu Chaffotte, Baptiste Mesta, Emmanuel Duchastenier
  • Constructor Details

  • Method Details

    • verifyPlatformVersion

      public boolean verifyPlatformVersion() throws Exception
      Throws:
      Exception
    • getVersionFromOtherNodes

      protected Optional<String> getVersionFromOtherNodes()
      Search for the first version found amongst other nodes.
      Returns:
      the first version encountered, if there are other nodes, or empty optional if there are no other nodes in the cluster, or throw exception if no version can be retrieved.
    • getErrorMessage

      public String getErrorMessage()