diff options
Diffstat (limited to 'plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/IRuntimeLocator.java')
-rw-r--r-- | plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/IRuntimeLocator.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/IRuntimeLocator.java b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/IRuntimeLocator.java deleted file mode 100644 index d5bf9ecba..000000000 --- a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/IRuntimeLocator.java +++ /dev/null @@ -1,72 +0,0 @@ -/******************************************************************************* - * 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.wst.server.core.internal; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.wst.server.core.IRuntimeWorkingCopy; -/** - * A runtime locator provides the ability to locate or search for additional - * runtimes of a particular type. - * <p> - * Runtime locators are found via ServerCore.getRuntimeLocators(). - * </p> - * - * <p>This interface is not intended to be implemented by clients.</p> - */ -public interface IRuntimeLocator { - /** - * A callback listener interface. - */ - public interface IRuntimeSearchListener { - /** - * Called when a new runtime is found by the locator. - * The runtime must never be null. - * - * @param runtime the runtime that was found. - */ - public void runtimeFound(IRuntimeWorkingCopy runtime); - } - - /** - * Returns the id of this runtime locator. - * Each known runtime locator has a distinct id. - * Ids are intended to be used internally as keys; they are not - * intended to be shown to end users. - * - * @return the runtime locator id - */ - public String getId(); - - /** - * Returns true if the runtime locator can find runtimes of the given type. - * The id should never be null. - * - * @param runtimeTypeId the id of a runtime type - * @return boolean - */ - public boolean supportsType(String runtimeTypeId); - - /** - * Searches for local runtimes. - * It uses the callback listener to report runtimes that are found. - * The path contains the absolute path of the folder to search in, - * or <code>null</code> to search the entire machine. - * - * @param path the path to search for runtimes in - * @param listener a listener to report status to - * @param monitor a progress monitor, or <code>null</code> if progress - * reporting and cancellation are not desired - * @throws CoreException - */ - public void searchForRuntimes(IPath path, IRuntimeSearchListener listener, IProgressMonitor monitor) throws CoreException; -}
\ No newline at end of file |