All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.togglz.testing.vary.VariationSet Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
package org.togglz.testing.vary;

import java.util.Set;

import org.togglz.core.Feature;

/**
 * This class represents a set of feature state variants. It is used to configure unit test that are executed with
 * FeatureVariations (JUnit 4 integration) or VaryFeatures (JUnit 5 integration). The common implementation of this interface
 * is {@link VariationSetBuilder} which allows to build sets dynamically.
 * 
 * @author Christian Kaltepoth
 * 
 * @see VariationSetBuilder
 * @param  The feature class
 */
public interface VariationSet {

    Class getFeatureClass();

    /**
     * Build the variant set data structure from the current configuration of the class.
     */
    Set> getVariants();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy