/******************************************************************************* * Copyright (c) 2005, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - Initial API and implementation *******************************************************************************/ package org.eclipse.jst.server.tomcat.core.internal; /** * */ public interface ITomcatServerWorkingCopy extends ITomcatServer { /** * The default deployment directory. Avoid "webapps" due to * side effects. */ public static final String DEFAULT_DEPLOYDIR = "wtpwebapps"; /** * The deployment directory used by default in prior versions. */ public static final String LEGACY_DEPLOYDIR = "webapps"; /** * Sets this server to test environment mode. * * @param b boolean */ public void setTestEnvironment(boolean b); /** * Sets the instance directory for the server. If set to * null, the instance directory is derived from the * testEnvironment setting.' * * @param instanceDir absolule path to the instance directory. */ public void setInstanceDirectory(String instanceDir); /** * Set the deployment directory for the server. May be absolute * or relative to runtime base directory. * * @param deployDir deployment directory for the server */ public void setDeployDirectory(String deployDir); /** * Set this server to serve modules without publishing. * * @param b true if modules should be served without publishing */ public void setServeModulesWithoutPublish(boolean b); /** * Set this server to save contexts to separate context * files when publishing the server. * @param b true if contexts should be saved to separate files * when publishing the server */ public void setSaveSeparateContextFiles(boolean b); /** * Set this server to set modules to be reloadable by default. * @param b true if contexts should be made reloadable by default. */ public void setModulesReloadableByDefault(boolean b); }