- java.lang.Object
-
- java.lang.Enum<IfModel.BranchState>
-
- ch.qos.logback.core.model.conditional.IfModel.BranchState
-
- All Implemented Interfaces:
Serializable,Comparable<IfModel.BranchState>
- Enclosing class:
- IfModel
public static enum IfModel.BranchState extends Enum<IfModel.BranchState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELSE_BRANCHIF_BRANCHIN_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IfModel.BranchStatevalueOf(String name)Returns the enum constant of this type with the specified name.static IfModel.BranchState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_ERROR
public static final IfModel.BranchState IN_ERROR
-
IF_BRANCH
public static final IfModel.BranchState IF_BRANCH
-
ELSE_BRANCH
public static final IfModel.BranchState ELSE_BRANCH
-
-
Method Detail
-
values
public static IfModel.BranchState[] 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 (IfModel.BranchState c : IfModel.BranchState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IfModel.BranchState 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
-
-