8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/**
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * of the Common Development and Distribution License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * (the License). You may not use this file except in
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the License at
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * opensso/legal/CDDLv1.0.txt
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * permission and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Header Notice in each file and include the License file
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * at opensso/legal/CDDLv1.0.txt.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below the CDDL Header,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * with the fields enclosed by brackets [] replaced by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * your own identifying information:
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * $Id: SetupConstants.java,v 1.5 2009/10/30 21:10:10 weisun2 Exp $
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna
dfc4e0fc3052835b2a069aa9d869fa1161c33fe6Peter Major/**
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna * Portions Copyrighted 2013-2014 ForgeRock AS
dfc4e0fc3052835b2a069aa9d869fa1161c33fe6Peter Major */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpackage com.sun.identity.tools.bundles;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpublic interface SetupConstants {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster char DEFAULT_WILD_CARD = '*';
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String WINDOWS = "windows";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String SOLARIS = "solaris";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String X86SOLARIS = "x86solaris";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String LINUX = "linux";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String AIX = "aix";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String DEFAULT_PROPERTIES_FILE = "com.sun.identity.tools.bundles." +
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "amadmtoolssetup";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String SETUP_PROPERTIES_FILE = "file.setup";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String AMCONFIG_PATH = "path.AMConfig";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String FILE_SEPARATOR = System.getProperty("file.separator");
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String OS_NAME = System.getProperty("os.name");
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String OS_ARCH = System.getProperty("os.arch");
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String FROM_DIR = ".fromdir";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String TO_DIR = ".todir";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String FROM_FILE = ".fromfile";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String TO_FILE = ".tofile";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String QUESTION = ".question";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String TOKEN = ".token";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String USER_INPUT = "UserInput";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String BASE_DIR = "BaseDir";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String YES = "yes";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String CONFIG_FILE = "file.config";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String CURRENT_PLATFORM = "CurrentPlatform";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String VAR_PREFIX = "${";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String VAR_SUFFIX = "}";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String REX_VAR_PREFIX = "[$]\\{";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String REX_VAR_SUFFIX = "\\}";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String CHECK_VERSION = "version.check";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String VERSION_FILE = "version.file";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String AM_VERSION_CURRENT = "am.version.current";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String AM_VERSION_EXPECTED = "am.version.expected";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String JAVA_VERSION_EXPECTED = "java.version.expected";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String JAVA_VERSION_CURRENT = "java.vm.version";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String XML_CONFIG = "xml.config";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String SUNOS = "sunos";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String X86 = "86";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String X64 = "64";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String TOOLS_VERSION = "version.tools";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String AM_VERSION = "com.iplanet.am.version";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String PRINT_HELP = "help.print";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String CONFIG_LOAD = "load.config";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String ALL = "all";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster int BUFFER_SIZE = 8192;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String GZIP_EXT = ".gz";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String PATH_DEST = "path.dest";
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna String ACCEPT_LICENSE = "--acceptLicense";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster /**
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * debug directory system property name.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String DEBUG_PATH = "path.debug";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster /**
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * log directory system property name.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster String LOG_PATH = "path.log";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster}