org.rhq.enterprise.server.alert.engine.model
Enum AlertConditionOperator

java.lang.Object
  extended by java.lang.Enum<AlertConditionOperator>
      extended by org.rhq.enterprise.server.alert.engine.model.AlertConditionOperator
All Implemented Interfaces:
Serializable, Comparable<AlertConditionOperator>

public enum AlertConditionOperator
extends Enum<AlertConditionOperator>

Author:
Joseph Marques

Nested Class Summary
static class AlertConditionOperator.Type
           
 
Enum Constant Summary
CHANGES
           
CHANGES_FROM
           
CHANGES_TO
           
EQUALS
           
GREATER_THAN
           
GREATER_THAN_OR_EQUAL_TO
           
LESS_THAN
           
LESS_THAN_OR_EQUAL_TO
           
REGEX
           
 
Method Summary
 AlertConditionOperator.Type getDefaultType()
           
static AlertConditionOperator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AlertConditionOperator[] 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

LESS_THAN_OR_EQUAL_TO

public static final AlertConditionOperator LESS_THAN_OR_EQUAL_TO

LESS_THAN

public static final AlertConditionOperator LESS_THAN

EQUALS

public static final AlertConditionOperator EQUALS

REGEX

public static final AlertConditionOperator REGEX

GREATER_THAN

public static final AlertConditionOperator GREATER_THAN

GREATER_THAN_OR_EQUAL_TO

public static final AlertConditionOperator GREATER_THAN_OR_EQUAL_TO

CHANGES

public static final AlertConditionOperator CHANGES

CHANGES_TO

public static final AlertConditionOperator CHANGES_TO

CHANGES_FROM

public static final AlertConditionOperator CHANGES_FROM
Method Detail

values

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

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

valueOf

public static AlertConditionOperator 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

getDefaultType

public AlertConditionOperator.Type getDefaultType()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.