org.drools.eclipse.preferences
Enum IDroolsConstants.InternalApiChoice
java.lang.Object
java.lang.Enum<IDroolsConstants.InternalApiChoice>
org.drools.eclipse.preferences.IDroolsConstants.InternalApiChoice
- All Implemented Interfaces:
- Serializable, Comparable<IDroolsConstants.InternalApiChoice>
- Enclosing interface:
- IDroolsConstants
public static enum IDroolsConstants.InternalApiChoice
- extends Enum<IDroolsConstants.InternalApiChoice>
ACCESSIBLE
public static final IDroolsConstants.InternalApiChoice ACCESSIBLE
NOT_ACCESSIBLE
public static final IDroolsConstants.InternalApiChoice NOT_ACCESSIBLE
DISCOURAGED
public static final IDroolsConstants.InternalApiChoice DISCOURAGED
values
public static IDroolsConstants.InternalApiChoice[] 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 (IDroolsConstants.InternalApiChoice c : IDroolsConstants.InternalApiChoice.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IDroolsConstants.InternalApiChoice 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 name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<IDroolsConstants.InternalApiChoice>
valueAt
public static IDroolsConstants.InternalApiChoice valueAt(int pos)
getPreferenceChoice
public static IDroolsConstants.InternalApiChoice getPreferenceChoice()
getAccessRule
public int getAccessRule()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.