Class Version

java.lang.Object
net.shibboleth.metadata.Version

public final class Version extends Object
Class for getting and printing the version of the metadata pipeline.
Since:
0.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
    Metadata pipeline major version number.
    private static final int
    Metadata pipeline minor version number.
    private static final int
    Metadata pipeline patch version number.
    private static final String
    Metadata pipeline version.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    Gets the major version number of the metadata pipeline.
    static int
    Gets the minor version number of the metadata pipeline.
    static int
    Gets the patch version number of the metadata pipeline.
    static String
    Gets the version of the metadata pipeline.
    static void
    main(String[] args)
    Main entry point to program.

    Methods inherited from class java.lang.Object

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

    • VERSION

      @Nonnull private static final String VERSION
      Metadata pipeline version.
    • MAJOR_VERSION

      private static final int MAJOR_VERSION
      Metadata pipeline major version number.
    • MINOR_VERSION

      private static final int MINOR_VERSION
      Metadata pipeline minor version number.
    • PATCH_VERSION

      private static final int PATCH_VERSION
      Metadata pipeline patch version number.
  • Constructor Details

    • Version

      private Version()
      Constructor.
  • Method Details

    • main

      public static void main(String[] args)
      Main entry point to program.
      Parameters:
      args - command line arguments
    • getVersion

      @Nonnull public static String getVersion()
      Gets the version of the metadata pipeline.
      Returns:
      version of the metadata pipeline
    • getMajorVersion

      public static int getMajorVersion()
      Gets the major version number of the metadata pipeline.
      Returns:
      major version number of the metadata pipeline
    • getMinorVersion

      public static int getMinorVersion()
      Gets the minor version number of the metadata pipeline.
      Returns:
      minor version number of the metadata pipeline
    • getPatchVersion

      public static int getPatchVersion()
      Gets the patch version number of the metadata pipeline.
      Returns:
      patch version number of the metadata pipeline