Package io.helidon.build.dev
Enum BuildRootType
- java.lang.Object
-
- java.lang.Enum<BuildRootType>
-
- io.helidon.build.dev.BuildRootType
-
- All Implemented Interfaces:
Serializable,Comparable<BuildRootType>
public enum BuildRootType extends Enum<BuildRootType>
A build root type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JavaClassesJava classes.JavaSourcesJava source files.ResourcesResource source files.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryTypedirectoryType()Returns the associated directory type.FileTypefileType()Returns the associated file type.static BuildRootTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BuildRootType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JavaSources
public static final BuildRootType JavaSources
Java source files.
-
JavaClasses
public static final BuildRootType JavaClasses
Java classes.
-
Resources
public static final BuildRootType Resources
Resource source files.
-
-
Method Detail
-
values
public static BuildRootType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildRootType c : BuildRootType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildRootType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
directoryType
public DirectoryType directoryType()
Returns the associated directory type.- Returns:
- The directory type.
-
fileType
public FileType fileType()
Returns the associated file type.- Returns:
- The file type.
-
-