blob: c5a07bcd34452724a729822b6daa42cded08e9ad [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2006 BEA Systems, Inc.
* 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:
* Konstantin Komissarchik - initial API and implementation
******************************************************************************/
package org.eclipse.wst.common.project.facet.core.runtime.internal;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
/**
* Used to represent a runtime that's referenced by a project, but is not
* defined in the workspace.
*
* @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a>
*/
public final class UnknownRuntime
extends AbstractRuntime
{
public UnknownRuntime( final String name )
{
setName( name );
}
public Map getProperties()
{
return Collections.EMPTY_MAP;
}
public List getRuntimeComponents()
{
return Collections.EMPTY_LIST;
}
public boolean supports( final IProjectFacetVersion fv )
{
return true;
}
}