public class Environment extends Object
Constructor and Description |
---|
Environment(File home) |
Environment(File home,
Properties properties) |
public static final String JBOSS_HOST
public static final String NXSERVER_HOST
public static final String TOMCAT_HOST
public static final String NUXEO_HOME_DIR
public static final String NUXEO_HOME
public static final String NUXEO_RUNTIME_HOME
public static final String NUXEO_DATA_DIR
public static final String DEFAULT_DATA_DIR
public static final String NUXEO_LOG_DIR
public static final String DEFAULT_LOG_DIR
public static final String NUXEO_PID_DIR
public static final String NUXEO_TMP_DIR
public static final String DEFAULT_TMP_DIR
public static final String NUXEO_CONFIG_DIR
public static final String DEFAULT_CONFIG_DIR
public static final String NUXEO_WEB_DIR
public static final String DEFAULT_WEB_DIR
public static final String NUXEO_MP_DIR
public static final String DEFAULT_MP_DIR
public static final String NUXEO_CONTEXT_PATH
@Deprecated public static final String HOME_DIR
NUXEO_HOME_DIR
@Deprecated public static final String WEB_DIR
NUXEO_WEB_DIR
@Deprecated public static final String CONFIG_DIR
NUXEO_CONFIG_DIR
@Deprecated public static final String DATA_DIR
NUXEO_DATA_DIR
@Deprecated public static final String LOG_DIR
NUXEO_LOG_DIR
public static final String BUNDLES_DIR
public static final String BUNDLES
public static final String DISTRIBUTION_NAME
public static final String DISTRIBUTION_VERSION
public static final String NUXEO_HTTP_PROXY_HOST
public static final String NUXEO_HTTP_PROXY_PORT
public static final String NUXEO_HTTP_PROXY_LOGIN
public static final String NUXEO_HTTP_PROXY_PASSWORD
public Environment(File home)
public Environment(File home, Properties properties)
public static void setDefault(Environment env)
public static Environment getDefault()
public File getHome()
public boolean isApplicationServer()
public void setIsApplicationServer(boolean isAppServer)
public String getHostApplicationName()
public String getHostApplicationVersion()
public void setHostApplicationName(String name)
public void setHostApplicationVersion(String version)
public File getTemp()
public void setTemp(File temp)
public File getConfig()
public void setConfig(File config)
public File getLog()
public void setLog(File log)
public File getData()
public void setData(File data)
public File getWeb()
public void setWeb(File web)
public File getRuntimeHome()
public void setRuntimeHome(File runtimeHome)
public String[] getCommandLineArguments()
public void setCommandLineArguments(String[] args)
public Properties getProperties()
public void loadProperties(Properties props)
public boolean isJBoss()
public boolean isJetty()
public boolean isTomcat()
public void init()
public File getServerHome()
NUXEO_HOME_DIR
is not set), whereas
getHome()
may return runtime home.public void setServerHome(File serverHome)
Copyright © 2015 Nuxeo SA. All rights reserved.