Class Features

All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess

public class Features extends ArrayList<String>
See Also:
  • Constructor Details

  • Method Details

    • hasFeature

      public boolean hasFeature(Class<?> clazz)
    • hasMultiProjectFeature

      public boolean hasMultiProjectFeature()
    • build

      public BuildTool build()
    • application

      public ApplicationFeature application()
    • language

      public LanguageFeature language()
    • testFramework

      public TestFeature testFramework()
    • getFeatures

      public Set<Feature> getFeatures()
    • javaVersion

      public JdkVersion javaVersion()
    • mainClass

      public Optional<String> mainClass()
      Returns:
      The main class
    • getTargetJdk

      public String getTargetJdk(int max)
    • getTargetJdk

      public String getTargetJdk()
    • isFeaturePresent

      public boolean isFeaturePresent(Class<? extends Feature> feature)
    • getFeature

      public <T extends Feature> Optional<T> getFeature(Class<T> feature)
    • getRequiredFeature

      public <T extends Feature> T getRequiredFeature(Class<T> feature)