Enum Class SourceSet

java.lang.Object
java.lang.Enum<SourceSet>
io.spring.initializr.generator.buildsystem.SourceSet
All Implemented Interfaces:
Serializable, Comparable<SourceSet>, Constable

public enum SourceSet extends Enum<SourceSet>
A source set of a generated project, following the standard directory layout of the supported build systems (for example src/main and src/test).
Author:
Denis A. AltoƩ Falqueto
  • Enum Constant Details

    • MAIN

      public static final SourceSet MAIN
      The main source set, packaged with the application.
    • TEST

      public static final SourceSet TEST
      The test source set, only available to tests.
  • Method Details

    • values

      public static SourceSet[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SourceSet valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null