com.espertech.esper.client
Enum Configuration.PropertyResolutionStyle

java.lang.Object
  extended by java.lang.Enum<Configuration.PropertyResolutionStyle>
      extended by com.espertech.esper.client.Configuration.PropertyResolutionStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Configuration.PropertyResolutionStyle>
Enclosing class:
Configuration

public static enum Configuration.PropertyResolutionStyle
extends java.lang.Enum<Configuration.PropertyResolutionStyle>

Enumeration of different resolution styles for resolving property names.


Enum Constant Summary
CASE_INSENSITIVE
          Properties are matched if the names are identical.
CASE_SENSITIVE
          Properties are only matched if the names are identical in name and case to the original property name.
DISTINCT_CASE_INSENSITIVE
          Properties are matched if the names are identical.
 
Method Summary
static Configuration.PropertyResolutionStyle getDefault()
          Returns the default property resolution style.
static Configuration.PropertyResolutionStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Configuration.PropertyResolutionStyle[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CASE_SENSITIVE

public static final Configuration.PropertyResolutionStyle CASE_SENSITIVE
Properties are only matched if the names are identical in name and case to the original property name.


CASE_INSENSITIVE

public static final Configuration.PropertyResolutionStyle CASE_INSENSITIVE
Properties are matched if the names are identical. A case insensitive search is used and will choose the first property that matches the name exactly or the first property that matches case insensitively should no match be found.


DISTINCT_CASE_INSENSITIVE

public static final Configuration.PropertyResolutionStyle DISTINCT_CASE_INSENSITIVE
Properties are matched if the names are identical. A case insensitive search is used and will choose the first property that matches the name exactly case insensitively. If more than one 'name' can be mapped to the property an exception is thrown.

Method Detail

values

public static Configuration.PropertyResolutionStyle[] 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 (Configuration.PropertyResolutionStyle c : Configuration.PropertyResolutionStyle.values())
    System.out.println(c);

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

valueOf

public static Configuration.PropertyResolutionStyle valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDefault

public static Configuration.PropertyResolutionStyle getDefault()
Returns the default property resolution style.

Returns:
is the case-sensitive resolution

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com