package pazuzu.service;

/**
 * Created by cseidel on 22/02/16.
 */
public interface FeatureService {
}

@@ -22,83 +22,978 @@
 e;%0A%0A
-/**%0A * Created by cseidel on 22/02/16.%0A */%0Apublic interface FeatureService %7B
+import com.sun.javaws.exceptions.InvalidArgumentException;%0Aimport pazuzu.model.Feature;%0A%0Aimport java.util.List;%0A%0A/**%0A * Created by cseidel on 22/02/16.%0A */%0Apublic interface FeatureService %7B%0A%0A    /**%0A     * Get a List of all available features%0A     *%0A     * @return List of all available features%0A     */%0A    List%3CFeature%3E getAllFeatures();%0A%0A    /**%0A     * Creates a topologically sorted List of Features%0A     *%0A     * @param featureNames List of all required featurenames%0A     * @return List of topologically sorted features with their required dependencies%0A     * @throws InvalidArgumentException if a requested Feature is not available%0A     */%0A    List%3CFeature%3E createSortedFeaturelistWithDependencies(List%3CString%3E featureNames) throws InvalidArgumentException;%0A%0A    /**%0A     *%0A     * Checks if all required features is available in the Feature Repository%0A     * @return List valid features%0A     */%0A    List%3CString%3E validateFeatureNames(List%3CString%3E requestedFeatures);
 %0A%7D%0A

define FeatureService specification