Package io.openmanufacturing.sds.test
Enum InvalidTestAspect
- java.lang.Object
-
- java.lang.Enum<InvalidTestAspect>
-
- io.openmanufacturing.sds.test.InvalidTestAspect
-
- All Implemented Interfaces:
TestModel,Serializable,Comparable<InvalidTestAspect>
public enum InvalidTestAspect extends Enum<InvalidTestAspect> implements TestModel
-
-
Enum Constant Summary
-
Field Summary
-
Fields inherited from interface io.openmanufacturing.sds.test.TestModel
TEST_NAMESPACE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static InvalidTestAspectvalueOf(String name)Returns the enum constant of this type with the specified name.static InvalidTestAspect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTUALLY_JSON
public static final InvalidTestAspect ACTUALLY_JSON
-
ASPECT_MISSING_NAME_AND_PROPERTIES
public static final InvalidTestAspect ASPECT_MISSING_NAME_AND_PROPERTIES
-
ASPECT_MISSING_PROPERTIES
public static final InvalidTestAspect ASPECT_MISSING_PROPERTIES
-
ASPECT_WITH_FALSE_POSITIVE_VALIDATION
public static final InvalidTestAspect ASPECT_WITH_FALSE_POSITIVE_VALIDATION
-
ASPECT_WITH_INVALID_VERSION
public static final InvalidTestAspect ASPECT_WITH_INVALID_VERSION
-
ASPECT_WITH_RECURSIVE_PROPERTY
public static final InvalidTestAspect ASPECT_WITH_RECURSIVE_PROPERTY
-
INVALID_SYNTAX
public static final InvalidTestAspect INVALID_SYNTAX
-
MISSING_ASPECT_DECLARATION
public static final InvalidTestAspect MISSING_ASPECT_DECLARATION
-
-
Method Detail
-
values
public static InvalidTestAspect[] 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 (InvalidTestAspect c : InvalidTestAspect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvalidTestAspect 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
-
-