com.unboundid.scim.sdk.Version Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scim-sdk Show documentation
Show all versions of scim-sdk Show documentation
The UnboundID SCIM SDK is a library that may be used to interact with various
types of SCIM-enabled endpoints (such as the UnboundID server products) to
perform lightweight, cloud-based identity management via the SCIM Protocol.
See http://www.simplecloud.info for more information.
/*
* Copyright 2011-2016 UnboundID Corp.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (GPLv2 only)
* or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see .
*/
package com.unboundid.scim.sdk;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
//import com.unboundid.util.ThreadSafety;
//import com.unboundid.util.ThreadSafetyLevel;
/**
* This class provides information about the current version of the UnboundID
* SCIM SDK for Java.
*/
//@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
public final class Version
{
//
// NOTE -- This file is dynamically generated. Do not edit it. If you need
// to add something to it, then add it to the
// resource/Version.java.stub file below the SCIM SDK build root.
//
/**
* The official full product name for the SCIM SDK. For this build, the
* value is "UnboundID SCIM SDK".
*/
public static final String PRODUCT_NAME = "UnboundID SCIM SDK";
/**
* The short product name for the SCIM SDK. This will not have any spaces.
* For this build, the value is "unboundid-scimsdk".
*/
public static final String SHORT_NAME = "unboundid-scimsdk";
/**
* The version string for the SCIM SDK.
* For this build, the value is "1.8.13".
*/
public static final String VERSION = "1.8.13";
/**
* A timestamp that indicates when this build of the SCIM SDK was generated.
* For this build, the value is "20160804152522Z".
*/
public static final String BUILD_TIMESTAMP = "20160804152522Z";
/**
* The source revision string from which this build of the SCIM SDK was
* generated. It may be {@code null} if the source control revision isn't
* available at build time. For this build, the value is 60f6d.
*/
public static final String REVISION_ID = "60f6d";
/**
* The full version string for the SCIM SDK. For this build, the value is
* "UnboundID SCIM SDK 1.8.13".
*/
public static final String FULL_VERSION_STRING =
PRODUCT_NAME + ' ' + VERSION;
/**
* The short version string for the SCIM SDK. This will not have any spaces.
* For this build, the value is
* "unboundid-scimsdk-1.8.13".
*/
public static final String SHORT_VERSION_STRING =
SHORT_NAME + '-' + VERSION;
/**
* Prevent this class from being instantiated.
*/
private Version()
{
// No implementation is required.
}
/**
* Prints version information from this class to standard output.
*
* @param args The command-line arguments provided to this program.
*/
public static void main(final String... args)
{
for (final String line : getVersionLines())
{
System.out.println(line);
}
}
/**
* Retrieves a list of lines containing information about the SCIM SDK
* version.
*
* @return A list of lines containing information about the SCIM SDK
* version.
*/
public static List getVersionLines()
{
final ArrayList versionLines = new ArrayList(11);
versionLines.add("Full Version String: " + FULL_VERSION_STRING);
versionLines.add("Short Version String: " + SHORT_VERSION_STRING);
versionLines.add("Product Name: " + PRODUCT_NAME);
versionLines.add("Short Name: " + SHORT_NAME);
versionLines.add("Version: " + VERSION);
versionLines.add("Build Timestamp: " + BUILD_TIMESTAMP);
versionLines.add("Revision ID: " + REVISION_ID);
return Collections.unmodifiableList(versionLines);
}
}