Package org.jbehave.core.reporters
Enum PrintStreamOutput.Format
- java.lang.Object
-
- java.lang.Enum<PrintStreamOutput.Format>
-
- org.jbehave.core.reporters.PrintStreamOutput.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<PrintStreamOutput.Format>
,java.lang.constant.Constable
- Enclosing class:
- PrintStreamOutput
public static enum PrintStreamOutput.Format extends Enum<PrintStreamOutput.Format>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description abstract Object
escapeValue(Object object)
static PrintStreamOutput.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrintStreamOutput.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TXT
public static final PrintStreamOutput.Format TXT
-
HTML
public static final PrintStreamOutput.Format HTML
-
XML
public static final PrintStreamOutput.Format XML
-
JSON
public static final PrintStreamOutput.Format JSON
-
-
Method Detail
-
values
public static PrintStreamOutput.Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrintStreamOutput.Format 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
-
-