DynamicConstants.java.stubs revision 729
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
110N/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 */
110N/Apublic 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 /**
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 /**
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 =
529N/A SHORT_NAME + "-" + MAJOR_VERSION + "." + MINOR_VERSION +
529N/A (((VERSION_QUALIFIER != null) && (VERSION_QUALIFIER.length() > 0))
529N/A ? VERSION_QUALIFIER
529N/A : "");
529N/A
529N/A /**
529N/A * A full version string for this product.
529N/A */
529N/A public static final String FULL_VERSION_STRING =
529N/A PRODUCT_NAME + " " + MAJOR_VERSION + "." + MINOR_VERSION +
529N/A (((VERSION_QUALIFIER != null) && (VERSION_QUALIFIER.length() > 0))
529N/A ? VERSION_QUALIFIER
529N/A : "." + POINT_VERSION);
110N/A}