Enum ModuleDependency.Services
- java.lang.Object
-
- java.lang.Enum<ModuleDependency.Services>
-
- org.wildfly.testing.tools.modules.ModuleDependency.Services
-
- All Implemented Interfaces:
Serializable,Comparable<ModuleDependency.Services>
- Enclosing class:
- ModuleDependency
public static enum ModuleDependency.Services extends Enum<ModuleDependency.Services>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ModuleDependency.ServicesvalueOf(String name)Returns the enum constant of this type with the specified name.static ModuleDependency.Services[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ModuleDependency.Services NONE
-
IMPORT
public static final ModuleDependency.Services IMPORT
-
EXPORT
public static final ModuleDependency.Services EXPORT
-
-
Method Detail
-
values
public static ModuleDependency.Services[] 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 (ModuleDependency.Services c : ModuleDependency.Services.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleDependency.Services 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ModuleDependency.Services>
-
-