blob: ee22c04e14e4ae5ede3f1b2ddb8875859d06e9a7 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005-2007 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
******************************************************************************/
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;
import org.eclipse.wst.common.project.facet.core.runtime.IRuntimeComponent;
/**
* 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<String,String> getProperties()
{
return Collections.emptyMap();
}
public List<IRuntimeComponent> getRuntimeComponents()
{
return Collections.emptyList();
}
public boolean supports( final IProjectFacetVersion fv )
{
return true;
}
}