Class FlowablePlatformVersion

java.lang.Object
com.flowable.platform.common.FlowablePlatformVersion

public final class FlowablePlatformVersion
extends java.lang.Object
Class that exposes the Flowable Platform version. Fetches the "Implementation-Version" manifest attribute from the jar file.

Note that some ClassLoaders do not expose the package metadata, hence this class might not be able to determine the Flowable Platform version in all environments. Consider using a reflection-based check instead: For example, checking for the presence of a specific Flowable Platform method that you intend to call.

Author:
Filip Hrisafov
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getVersion()
    Return the full version string of the present Flowable Platform codebase, or null if it cannot be determined.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getVersion

      public static java.lang.String getVersion()
      Return the full version string of the present Flowable Platform codebase, or null if it cannot be determined.
      Returns:
      the version of Flowable Platform or null
      See Also:
      Package.getImplementationVersion()