com.sourceforge.jpatterns.core
Enum JPConstants.EngineConfigCaregory

java.lang.Object
  extended by java.lang.Enum<JPConstants.EngineConfigCaregory>
      extended by com.sourceforge.jpatterns.core.JPConstants.EngineConfigCaregory
All Implemented Interfaces:
Serializable, Comparable<JPConstants.EngineConfigCaregory>
Enclosing class:
JPConstants

public static enum JPConstants.EngineConfigCaregory
extends Enum<JPConstants.EngineConfigCaregory>

This enumeration defines the possible categories for the configuration JPatterns engine would use for the obtain the patterns implementations (for nowe it is just consumer but in the future when some different providers appear - it could be extended or made even dynamical)
todo [zmicer]: review the above mentioned. It is logged as the 4 item of the release 1.1 requirements.


Enum Constant Summary
CONSUMER
          Consumer configuration
FRAMEWORK
          Framework configuration
 
Method Summary
static JPConstants.EngineConfigCaregory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JPConstants.EngineConfigCaregory[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FRAMEWORK

public static final JPConstants.EngineConfigCaregory FRAMEWORK
Framework configuration


CONSUMER

public static final JPConstants.EngineConfigCaregory CONSUMER
Consumer configuration

Method Detail

values

public static final JPConstants.EngineConfigCaregory[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JPConstants.EngineConfigCaregory c : JPConstants.EngineConfigCaregory.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static JPConstants.EngineConfigCaregory 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


Copyright © 2007 jzmicer.team. All Rights Reserved.