public enum BreakOpportunity extends Enum<BreakOpportunity>
0 = auto 1 = any 2 = none 3 = all
Enum Constant and Description |
---|
ALL
The enum representing an 'all' BreakOpportunity.
|
ANY
The enum representing an 'any' BreakOpportunity.
|
AUTO
The enum representing an 'auto' BreakOpportunity.
|
NONE
The enum representing an 'none' BreakOpportunity.
|
Modifier and Type | Method and Description |
---|---|
static BreakOpportunity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BreakOpportunity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreakOpportunity AUTO
public static final BreakOpportunity ANY
public static final BreakOpportunity NONE
public static final BreakOpportunity ALL
public static BreakOpportunity[] values()
for (BreakOpportunity c : BreakOpportunity.values()) System.out.println(c);
public static BreakOpportunity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 The Apache Software Foundation. All rights reserved.