blob: 59f5c74bf80d65b4349a9451e94680c07c8e78fa [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2003 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 Corporation - Initial API and implementation
**********************************************************************/
package org.eclipse.wst.server.core.util;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.model.IClientDelegate;
import org.eclipse.wst.server.core.model.ILaunchable;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.debug.core.ILaunch;
/**
*
*/
public class NullLaunchableClient implements IClientDelegate {
/*
* @see ILaunchableClient#supports(ILaunchable)
*/
public boolean supports(IServer server, ILaunchable launchable, String launchMode) {
return (launchable instanceof NullLaunchable);
}
public IStatus launch(IServer server, ILaunchable launchable, String launchMode, ILaunch launch) {
return null;
}
}