Package io.molr.commons.domain
Enum BlockAttribute
- java.lang.Object
-
- java.lang.Enum<BlockAttribute>
-
- io.molr.commons.domain.BlockAttribute
-
- All Implemented Interfaces:
Serializable
,Comparable<BlockAttribute>
public enum BlockAttribute extends Enum<BlockAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BREAK
FORCE_ABORT_ON_ERROR
IGNORE
ON_ERROR_SKIP_SEQUENTIAL_SIBLINGS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockAttribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BREAK
public static final BlockAttribute BREAK
-
IGNORE
public static final BlockAttribute IGNORE
-
ON_ERROR_SKIP_SEQUENTIAL_SIBLINGS
public static final BlockAttribute ON_ERROR_SKIP_SEQUENTIAL_SIBLINGS
-
FORCE_ABORT_ON_ERROR
public static final BlockAttribute FORCE_ABORT_ON_ERROR
-
-
Method Detail
-
values
public static BlockAttribute[] 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 (BlockAttribute c : BlockAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockAttribute 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
-
-