public class FeatureContext
extends java.lang.Object
| Constructor and Description | 
|---|
| FeatureContext(Options options,
              ApplicationType applicationType,
              OperatingSystem operatingSystem,
              java.util.Set<Feature> selectedFeatures) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFeature(Feature feature)Adds a feature to be applied. | 
| void | exclude(FeaturePredicate exclusion) | 
| ApplicationType | getApplicationType() | 
| BuildTool | getBuildTool() | 
| java.util.Set<Feature> | getFinalFeatures(ConsoleOutput consoleOutput) | 
| JdkVersion | getJavaVersion() | 
| Language | getLanguage() | 
| OperatingSystem | getOperatingSystem() | 
| Options | getOptions() | 
| TestFramework | getTestFramework() | 
| boolean | isPresent(java.lang.Class<? extends Feature> feature) | 
| void | processSelectedFeatures() | 
public FeatureContext(Options options, ApplicationType applicationType, @Nullable OperatingSystem operatingSystem, java.util.Set<Feature> selectedFeatures)
public void processSelectedFeatures()
public void exclude(FeaturePredicate exclusion)
public java.util.Set<Feature> getFinalFeatures(ConsoleOutput consoleOutput)
public Language getLanguage()
public TestFramework getTestFramework()
public BuildTool getBuildTool()
public JdkVersion getJavaVersion()
public Options getOptions()
public void addFeature(Feature feature)
feature - The feature to addpublic ApplicationType getApplicationType()
public boolean isPresent(java.lang.Class<? extends Feature> feature)
public OperatingSystem getOperatingSystem()