net.shibboleth.metadata
Class Version

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

public final class Version
extends Object

Class for getting and printing the version of the metadata pipeline.


Field Summary
private static int MAJOR_VERSION
          metadata pipeline major version number.
private static int MICRO_VERSION
          metadata pipeline micro version number.
private static int MINOR_VERSION
          metadata pipeline minor version number.
private static String VERSION
          metadata pipeline version.
 
Constructor Summary
private Version()
          Constructor.
 
Method Summary
static int getMajorVersion()
          Gets the major version number of the metadata pipeline.
static int getMicroVersion()
          Gets the micro version number of the metadata pipeline.
static int getMinorVersion()
          Gets the minor version number of the metadata pipeline.
static String getVersion()
          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 Detail

VERSION

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.


MICRO_VERSION

private static final int MICRO_VERSION
metadata pipeline micro version number.

Constructor Detail

Version

private Version()
Constructor.

Method Detail

main

public static void main(String[] args)
Main entry point to program.

Parameters:
args - command line arguments

getVersion

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

getMicroVersion

public static int getMicroVersion()
Gets the micro version number of the metadata pipeline.

Returns:
micro version number of the metadata pipeline


Copyright © 2009-2011. All Rights Reserved.