blob: 1f73e3b38ede38bdbaa3bc0f71368677a8b3fd4f [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
 *
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.jst.server.tomcat.core;
public interface ITomcatConfigurationWorkingCopy extends ITomcatConfiguration {
/**
* Add a web module.
*
* @param index int
* @param module org.eclipse.jst.server.tomcat.WebModule
*/
public void addWebModule(int index, ITomcatWebModule module);
/**
* Change a web module.
*
* @param index int
* @param docBase java.lang.String
* @param path java.lang.String
* @param reloadable boolean
*/
public void modifyWebModule(int index, String docBase, String path, boolean reloadable);
/**
* Remove a web module.
*
* @param index int
*/
public void removeWebModule(int index);
/**
* Adds a mime mapping.
*
* @param index int
* @param map MimeMapping
*/
public void addMimeMapping(int index, IMimeMapping map);
/**
* Change a mime mapping.
*
* @param index int
* @param map MimeMapping
*/
public void modifyMimeMapping(int index, IMimeMapping map);
/**
* Modify the port with the given id.
*
* @param id java.lang.String
* @param port int
*/
public void modifyServerPort(String id, int port);
/**
* Remove a mime mapping.
*
* @param index int
*/
public void removeMimeMapping(int index);
}