001/*
002 * CDDL HEADER START
003 *
004 * The contents of this file are subject to the terms of the
005 * Common Development and Distribution License, Version 1.0 only
006 * (the "License").  You may not use this file except in compliance
007 * with the License.
008 *
009 * You can obtain a copy of the license at
010 * trunk/ds/resource/legal-notices/cddl.txt
011 * or http://www.opensource.org/licenses/cddl1.php.
012 * See the License for the specific language governing permissions
013 * and limitations under the License.
014 *
015 * When distributing Covered Code, include this CDDL HEADER in each
016 * file and include the License file at
017 * trunk/ds/resource/legal-notices/cddl.txt.  If applicable,
018 * add the following below this CDDL HEADER, with the fields enclosed
019 * by brackets "[]" replaced with your own identifying information:
020 *      Portions Copyright [yyyy] [name of copyright owner]
021 *
022 * CDDL HEADER END
023 *
024 *
025 *      Copyright 2021 Ping Identity Corporation
026 */
027package com.unboundid.directory.sdk.common.types;
028
029
030
031import com.unboundid.util.ThreadSafety;
032import com.unboundid.util.ThreadSafetyLevel;
033
034
035
036/**
037 * This class provides version information for the UnboundID Server SDK.
038 * It has been automatically generated during the build process.  Do not
039 * manually edit this file.
040 */
041@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
042public final class Version
043{
044  /**
045   * The official full product name for the Server SDK.
046   * For this build, the value is:
047   * "UnboundID Server SDK".
048   */
049  public static final String PRODUCT_NAME =
050       "UnboundID Server SDK";
051
052
053
054  /**
055   * The short product name for the Server SDK, without any spaces.
056   * For this build, the value is:
057   * "unboundid-server-sdk".
058   */
059  public static final String SHORT_NAME =
060       "unboundid-server-sdk";
061
062
063
064  /**
065   * The major version number for the Server SDK.
066   * For this build, the value is:
067   * "9".
068   */
069  public static final int MAJOR_VERSION = 9;
070
071
072
073  /**
074   * The minor version number for the Server SDK.
075   * For this build, the value is:
076   * "0".
077   */
078  public static final int MINOR_VERSION = 0;
079
080
081
082  /**
083   * The point version number for the Server SDK.
084   * For this build, the value is:
085   * "0".
086   */
087  public static final int POINT_VERSION = 0;
088
089
090
091  /**
092   * The patch version number for the Server SDK.
093   * For this build, the value is:
094   * "0".
095   */
096  public static final int PATCH_VERSION = 0;
097
098
099
100  /**
101   * The version qualifier string for the Server SDK.
102   * For this build, the value is:
103   * "".
104   */
105  public static final String VERSION_QUALIFIER =
106       "";
107
108
109
110  /**
111   * The version number string for the Server SDK.
112   * For this build, the value is:
113   * "9.0.0.0".
114   */
115  public static final String VERSION_NUMBER_STRING =
116       "9.0.0.0";
117
118
119
120  /**
121   * The full version string for the Server SDK.
122   * For this build, the value is:
123   * "UnboundID Server SDK 9.0.0.0".
124   */
125  public static final String FULL_VERSION_STRING =
126       "UnboundID Server SDK 9.0.0.0";
127
128
129
130  /**
131   * The compact version string for the Server SDK, without any spaces.
132   * For this build, the value is:
133   * "unboundid-server-sdk-9.0.0.0".
134   */
135  public static final String COMPACT_VERSION_STRING =
136       "unboundid-server-sdk-9.0.0.0";
137
138
139
140  /**
141   * A timestamp indicating when the Server SDK was built as a GMT time.
142   * For this build, the value is:
143   * "20211215212536Z".
144   */
145  public static final String BUILD_TIMESTAMP =
146       "20211215212536Z";
147
148
149
150  /**
151   * The source repository branch from which the Server SDK was built.
152   * For this build, the value is:
153   * "265edf050384419e73b44cf333d432b3f6bf265f".
154   */
155  public static final String REPOSITORY_PATH =
156       "265edf050384419e73b44cf333d432b3f6bf265f";
157
158
159
160  /**
161   * The source repository revision ID from which the Server SDK was built.
162   * For this build, the value is:
163   * "v9.0.0.0-RC2".
164   */
165  public static final String REVISION_ID =
166       "v9.0.0.0-RC2";
167
168
169
170  /**
171   * Prints version information for the UnboundID Server SDK to standard output.
172   *
173   * @param  args  The command-line arguments provided to this program.
174   */
175  public static void main(final String... args)
176  {
177    System.out.println("Full Version String:   " + FULL_VERSION_STRING);
178    System.out.println("Short Version String:  " + COMPACT_VERSION_STRING);
179    System.out.println("Product Name:          " + PRODUCT_NAME);
180    System.out.println("Short Name:            " + SHORT_NAME);
181    System.out.println("Major Version:         " + MAJOR_VERSION);
182    System.out.println("Minor Version:         " + MINOR_VERSION);
183    System.out.println("Point Version:         " + POINT_VERSION);
184    System.out.println("Patch Version:         " + PATCH_VERSION);
185    System.out.println("Version Qualifier:     " + VERSION_QUALIFIER);
186    System.out.println("Build Timestamp:       " + BUILD_TIMESTAMP);
187    System.out.println("Source Branch:         " + REPOSITORY_PATH);
188    System.out.println("Source Revision:       " + REVISION_ID);
189  }
190}