blob: fd2a8e671ebce2de317ab60bf97276ca6cef16de [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Innoopract Informationssysteme GmbH.
* 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:
* Innoopract Informationssysteme GmbH - initial API and implementation
******************************************************************************/
package org.eclipse.epp.wizard.model;
import java.util.List;
/**
* @author Jordi Boehme Lopez <jboehme@innoopract.com>
*/
public class Features {
private final List<Feature> features;
public Features( List<Feature> features ) {
super();
this.features = features;
}
public Feature[] getFeatures() {
return features.toArray( new Feature[ features.size() ] );
}
public Feature getFeature( FeatureRef featureRef ) {
return featureRef.getFeature();
}
}