blob: 69cc9e3d1b1aa951dbc153ba7858dbbac51221e5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2005 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;
import java.util.List;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jst.server.core.IWebModule;
/**
*
*/
public interface ITomcatVersionHandler {
public boolean verifyInstallPath(IPath installPath);
public String getRuntimeClass();
public List getRuntimeClasspath(IPath installPath);
public String[] getRuntimeProgramArguments(IPath configPath, boolean debug, boolean starting);
public String[] getRuntimeVMArguments(IPath installPath, IPath configPath, boolean isSecure);
/**
* Returns true if the given project is supported by this
* server, and false otherwise.
*
* @param module a web module
* @return the status
*/
public IStatus canAddModule(IWebModule module);
}