|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DriftChangeSetCategory> org.rhq.core.domain.drift.DriftChangeSetCategory
public enum DriftChangeSetCategory
Type of change set report. There are two types of change sets, coverage and drift. A coverage change set is in effect a snapshot of the files that are being monitored for drift detection. A drift change set on the hand, represents a delta between one or more files on disk and their versions in the previous change set.
A DriftChangeSetCategory has a single representation which is suitable for persisting in a database.
Enum Constant Summary | |
---|---|
COVERAGE
A coverage change set is a snapshot of the files that are being monitored for drift detection. |
|
DRIFT
A drift change set represents a change between one or more files and their versions in the previous change set. |
Method Summary | |
---|---|
String |
code()
|
static DriftChangeSetCategory |
fromCode(String code)
Parses the single character code into a DriftChangeSetCategory object. |
static DriftChangeSetCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DriftChangeSetCategory[] |
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 |
---|
public static final DriftChangeSetCategory COVERAGE
public static final DriftChangeSetCategory DRIFT
Method Detail |
---|
public static DriftChangeSetCategory[] values()
for (DriftChangeSetCategory c : DriftChangeSetCategory.values()) System.out.println(c);
public static DriftChangeSetCategory valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String code()
public static DriftChangeSetCategory fromCode(String code)
code
- A single character code
IllegalArgumentException
- if the code is not recognized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |