org.rhq.core.domain.drift
Enum DriftDefinitionComparator.CompareMode

java.lang.Object
  extended by java.lang.Enum<DriftDefinitionComparator.CompareMode>
      extended by org.rhq.core.domain.drift.DriftDefinitionComparator.CompareMode
All Implemented Interfaces:
Serializable, Comparable<DriftDefinitionComparator.CompareMode>
Enclosing class:
DriftDefinitionComparator

public static enum DriftDefinitionComparator.CompareMode
extends Enum<DriftDefinitionComparator.CompareMode>


Enum Constant Summary
BOTH_BASE_INFO_AND_DIRECTORY_SPECIFICATIONS
          The comparator will check both the basedir/includes-excludes filters and the base information (see ONLY_BASE_INFO for what those are).
ONLY_BASE_INFO
          The comparator will only check the base information: name, description, enabled, interval, driftHandlingMode, pinned, and pinnedVersion.
ONLY_DIRECTORY_SPECIFICATIONS
          The comparator will only check the basedir/includes-excludes filters.
 
Method Summary
static DriftDefinitionComparator.CompareMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriftDefinitionComparator.CompareMode[] 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

ONLY_BASE_INFO

public static final DriftDefinitionComparator.CompareMode ONLY_BASE_INFO
The comparator will only check the base information: name, description, enabled, interval, driftHandlingMode, pinned, and pinnedVersion. The basedir/includes-excludes filters will be ignored.


ONLY_DIRECTORY_SPECIFICATIONS

public static final DriftDefinitionComparator.CompareMode ONLY_DIRECTORY_SPECIFICATIONS
The comparator will only check the basedir/includes-excludes filters. The base information will be ignored (see ONLY_BASE_INFO for what those are).


BOTH_BASE_INFO_AND_DIRECTORY_SPECIFICATIONS

public static final DriftDefinitionComparator.CompareMode BOTH_BASE_INFO_AND_DIRECTORY_SPECIFICATIONS
The comparator will check both the basedir/includes-excludes filters and the base information (see ONLY_BASE_INFO for what those are).

Method Detail

values

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

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

valueOf

public static DriftDefinitionComparator.CompareMode 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


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