Package org.bonitasoft.engine.platform
Class PlatformVersionChecker
java.lang.Object
org.bonitasoft.engine.platform.PlatformVersionChecker
- Author:
- Matthieu Chaffotte, Baptiste Mesta, Emmanuel Duchastenier
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformVersionChecker(PlatformService platformService, BroadcastService broadcastService, TransactionService transactionService) -
Method Summary
Modifier and TypeMethodDescriptionSearch for the first version found amongst other nodes.boolean
-
Constructor Details
-
PlatformVersionChecker
public PlatformVersionChecker(PlatformService platformService, BroadcastService broadcastService, TransactionService transactionService)
-
-
Method Details
-
verifyPlatformVersion
- Throws:
Exception
-
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
-