public interface BuildExtension
Allows plugging in current build info.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theBuildVersionfor the running Elasticsearch code.fromVersionId(int versionId) Returns theBuildVersionfor a given version identifier.Returns theBuildthat represents the running Elasticsearch code.default booleantrueif this build uses release versions.
-
Method Details
-
getCurrentBuild
Build getCurrentBuild()Returns theBuildthat represents the running Elasticsearch code. -
hasReleaseVersioning
default boolean hasReleaseVersioning()trueif this build uses release versions. -
currentBuildVersion
BuildVersion currentBuildVersion()Returns theBuildVersionfor the running Elasticsearch code. -
fromVersionId
Returns theBuildVersionfor a given version identifier.
-