blob: 886f22f3e8e79d21a18afaf7782e76bd83509761 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 Angelo Zerr 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:
* Angelo Zerr <angelo.zerr@gmail.com> - Initial API and implementation
*******************************************************************************/
package org.eclipse.jst.server.jetty.core;
public interface IJettyServerWorkingCopy extends IJettyServer
{
/**
* 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);
}