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 2019 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 * "7". 068 */ 069 public static final int MAJOR_VERSION = 7; 070 071 072 073 /** 074 * The minor version number for the Server SDK. 075 * For this build, the value is: 076 * "2". 077 */ 078 public static final int MINOR_VERSION = 2; 079 080 081 082 /** 083 * The point version number for the Server SDK. 084 * For this build, the value is: 085 * "1". 086 */ 087 public static final int POINT_VERSION = 1; 088 089 090 091 /** 092 * The patch version number for the Server SDK. 093 * For this build, the value is: 094 * "3". 095 */ 096 public static final int PATCH_VERSION = 3; 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 * "7.2.1.3". 114 */ 115 public static final String VERSION_NUMBER_STRING = 116 "7.2.1.3"; 117 118 119 120 /** 121 * The full version string for the Server SDK. 122 * For this build, the value is: 123 * "UnboundID Server SDK 7.2.1.3". 124 */ 125 public static final String FULL_VERSION_STRING = 126 "UnboundID Server SDK 7.2.1.3"; 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-7.2.1.3". 134 */ 135 public static final String COMPACT_VERSION_STRING = 136 "unboundid-server-sdk-7.2.1.3"; 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 * "20190628203254Z". 144 */ 145 public static final String BUILD_TIMESTAMP = 146 "20190628203254Z"; 147 148 149 150 /** 151 * The source repository branch from which the Server SDK was built. 152 * For this build, the value is: 153 * "/directory/tags/ds-7.2.1.3-GA". 154 */ 155 public static final String REPOSITORY_PATH = 156 "/directory/tags/ds-7.2.1.3-GA"; 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 * "30857". 164 */ 165 public static final String REVISION_ID = 166 "30857"; 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}