Interface VersionInfo

All Known Implementing Classes:
VersionInfo.Info

public interface VersionInfo
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final VersionInfo
    Version information loaded from the default Kroxylicious runtime metadata resource, META-INF/metadata.properties.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    fromResource(String resourceName)
    Loads version information from the supplied classpath resource.
     
  • Field Details

    • VERSION_INFO

      static final VersionInfo VERSION_INFO
      Version information loaded from the default Kroxylicious runtime metadata resource, META-INF/metadata.properties.

      Other Kroxylicious artifacts should use fromResource(String) when their version metadata is stored in an artifact-specific resource.

  • Method Details

    • version

      String version()
    • commitId

      String commitId()
    • fromResource

      static VersionInfo fromResource(String resourceName)
      Loads version information from the supplied classpath resource.
      Parameters:
      resourceName - the classpath resource containing version metadata
      Returns:
      the version information, or unknown values if the resource cannot be loaded