org.drools.eclipse.preferences
Enum IDroolsConstants.InternalApiChoice

java.lang.Object
  extended by java.lang.Enum<IDroolsConstants.InternalApiChoice>
      extended by 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>


Enum Constant Summary
ACCESSIBLE
           
DISCOURAGED
           
NOT_ACCESSIBLE
           
 
Method Summary
 int getAccessRule()
           
static IDroolsConstants.InternalApiChoice getPreferenceChoice()
           
 String toString()
           
static IDroolsConstants.InternalApiChoice valueAt(int pos)
           
static IDroolsConstants.InternalApiChoice valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IDroolsConstants.InternalApiChoice[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACCESSIBLE

public static final IDroolsConstants.InternalApiChoice ACCESSIBLE

NOT_ACCESSIBLE

public static final IDroolsConstants.InternalApiChoice NOT_ACCESSIBLE

DISCOURAGED

public static final IDroolsConstants.InternalApiChoice DISCOURAGED
Method Detail

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.