Package net.shibboleth.metadata
Class Version
java.lang.Object
net.shibboleth.metadata.Version
Class for getting and printing the version of the metadata pipeline.
- Since:
- 0.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intMetadata pipeline major version number.private static final intMetadata pipeline minor version number.private static final intMetadata pipeline patch version number.private static final StringMetadata pipeline version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intGets the major version number of the metadata pipeline.static intGets the minor version number of the metadata pipeline.static intGets the patch version number of the metadata pipeline.static StringGets the version of the metadata pipeline.static voidMain entry point to program.
-
Field Details
-
VERSION
Metadata pipeline version. -
MAJOR_VERSION
private static final int MAJOR_VERSIONMetadata pipeline major version number. -
MINOR_VERSION
private static final int MINOR_VERSIONMetadata pipeline minor version number. -
PATCH_VERSION
private static final int PATCH_VERSIONMetadata pipeline patch version number.
-
-
Constructor Details
-
Version
private Version()Constructor.
-
-
Method Details
-
main
Main entry point to program.- Parameters:
args- command line arguments
-
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
-