DynamicConstants.java.stubs revision 2095
110N/A/*
110N/A * CDDL HEADER START
110N/A *
110N/A * The contents of this file are subject to the terms of the
110N/A * Common Development and Distribution License, Version 1.0 only
110N/A * (the "License"). You may not use this file except in compliance
110N/A * with the License.
110N/A *
110N/A * You can obtain a copy of the license at
110N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE
110N/A * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
110N/A * See the License for the specific language governing permissions
110N/A * and limitations under the License.
110N/A *
110N/A * When distributing Covered Code, include this CDDL HEADER in each
110N/A * file and include the License file at
110N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
110N/A * add the following below this CDDL HEADER, with the fields enclosed
873N/A * by brackets "[]" replaced with your own identifying information:
110N/A * Portions Copyright [yyyy] [name of copyright owner]
110N/A *
110N/A * CDDL HEADER END
110N/A *
110N/A *
729N/A * Portions Copyright 2006-2007 Sun Microsystems, Inc.
110N/A */
110N/Apackage org.opends.server.util;
110N/A
110N/A/**
110N/A * This file contains a number of constants that are used throughout the
110N/A * Directory Server source. It was dynamically generated as part of the
110N/A * Directory Server build process and should not be edited directly.
110N/A */
2095N/A@org.opends.server.types.PublicAPI(
2095N/A stability=org.opends.server.types.StabilityLevel.UNCOMMITTED,
2095N/A mayInstantiate=false,
2095N/A mayExtend=false,
2095N/A mayInvoke=true)
2095N/Apublic final class DynamicConstants
110N/A{
110N/A /**
110N/A * The official full product name for the Directory Server.
110N/A */
110N/A public static final String PRODUCT_NAME = "${PRODUCT_NAME}";
110N/A
110N/A /**
110N/A * The short product name for the Directory Server.
110N/A */
110N/A public static final String SHORT_NAME = "${SHORT_NAME}";
110N/A
110N/A /**
110N/A * The major version number for the Directory Server.
110N/A */
110N/A public static final int MAJOR_VERSION = ${MAJOR_VERSION};
110N/A
110N/A /**
110N/A * The minor version number for the Directory Server.
110N/A */
110N/A public static final int MINOR_VERSION = ${MINOR_VERSION};
110N/A
110N/A /**
110N/A * The point version number for the Directory Server.
110N/A */
110N/A public static final int POINT_VERSION = ${POINT_VERSION};
110N/A
110N/A /**
1344N/A * The official build number for the Directory Server.
1344N/A */
1344N/A public static final int BUILD_NUMBER = ${BUILD_NUMBER};
1344N/A
1344N/A /**
110N/A * The version qualifier string for the Directory Server.
110N/A */
110N/A public static final String VERSION_QUALIFIER = "${VERSION_QUALIFIER}";
110N/A
110N/A /**
110N/A * The set of bug IDs for fixes included in this build of the Directory
110N/A * Server.
110N/A */
110N/A public static final String FIX_IDS = "${FIX_IDS}";
110N/A
110N/A /**
110N/A * The build ID for the generated build of the Directory Server.
110N/A */
110N/A public static final String BUILD_ID = "${timestamp}";
110N/A
110N/A /**
110N/A * The username of the user that created this build.
110N/A */
110N/A public static final String BUILD_USER = "${user.name}";
110N/A
110N/A /**
110N/A * The Java version used to generate this build.
110N/A */
110N/A public static final String BUILD_JAVA_VERSION = "${java.version}";
110N/A
110N/A /**
110N/A * The vendor for the Java version used to generate this build.
110N/A */
110N/A public static final String BUILD_JAVA_VENDOR = "${java.vendor}";
110N/A
110N/A /**
110N/A * The JVM version used to generate this build.
110N/A */
110N/A public static final String BUILD_JVM_VERSION = "${java.vm.version}";
110N/A
110N/A /**
110N/A * The vendor for the JVM used to generate this build.
110N/A */
110N/A public static final String BUILD_JVM_VENDOR = "${JVM_VENDOR}";
110N/A
110N/A /**
110N/A * The operating system on which this build was generated.
110N/A */
110N/A public static final String BUILD_OS = "${os.name} ${os.version} ${os.arch}";
110N/A
110N/A /**
110N/A * Indicates whether this is a debug build of the Directory Server that may
110N/A * include additional debugging facilities not available in standard release
110N/A * versions.
110N/A */
110N/A public static final boolean DEBUG_BUILD = ${DEBUG_BUILD};
529N/A
529N/A /**
729N/A * The Subversion revision number on which this build is based.
729N/A */
729N/A public static final long REVISION_NUMBER = ${REVISION_NUMBER};
729N/A
729N/A /**
984N/A * Indicates wheater this build includes AspectJ weaving for the debug logging
984N/A * framework.
984N/A */
984N/A public static final boolean WEAVE_ENABLED = ${WEAVE_ENABLED};
984N/A
984N/A /**
1344N/A * A string representation of the version number.
1344N/A */
1344N/A public static final String VERSION_NUMBER_STRING =
1344N/A "${VERSION_NUMBER_STRING}";
1344N/A
1344N/A /**
529N/A * A compact version string for this product, suitable for use in path
529N/A * names and similar cases.
529N/A */
529N/A public static final String COMPACT_VERSION_STRING =
1344N/A SHORT_NAME + "-" + VERSION_NUMBER_STRING;
529N/A
529N/A /**
529N/A * A full version string for this product.
529N/A */
529N/A public static final String FULL_VERSION_STRING =
1344N/A PRODUCT_NAME + " " + VERSION_NUMBER_STRING +
1344N/A (((FIX_IDS != null) && (FIX_IDS.length() > 0))
1344N/A ? "+" + FIX_IDS
1344N/A : "");
1349N/A
1349N/A /**
1349N/A * A printable version string for this product.
1349N/A */
1349N/A public static final String PRINTABLE_VERSION_STRING =
1350N/A FULL_VERSION_STRING + System.getProperty("line.separator") +
1350N/A "Build " + BUILD_ID + System.getProperty("line.separator");
110N/A}