Enum TestStatus
- java.lang.Object
-
- java.lang.Enum<TestStatus>
-
- net.sourceforge.pmd.util.fxdesigner.model.testing.TestStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestStatus>
public enum TestStatus extends java.lang.Enum<TestStatus>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STATUS_CLASS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
allStyleClasses()
javafx.scene.paint.Color
getColor()
java.lang.String
getIcon()
java.util.List<java.lang.String>
getStyleClass()
static TestStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASS
public static final TestStatus PASS
-
FAIL
public static final TestStatus FAIL
-
ERROR
public static final TestStatus ERROR
-
UNKNOWN
public static final TestStatus UNKNOWN
-
-
Field Detail
-
STATUS_CLASS
public static final java.lang.String STATUS_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TestStatus[] 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 (TestStatus c : TestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getColor
public javafx.scene.paint.Color getColor()
-
getStyleClass
public java.util.List<java.lang.String> getStyleClass()
-
allStyleClasses
public static java.util.List<java.lang.String> allStyleClasses()
-
getIcon
public java.lang.String getIcon()
-
-