public static enum SnapshotDiffReport.DiffType extends Enum<SnapshotDiffReport.DiffType>
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static SnapshotDiffReport.DiffType |
getTypeFromLabel(String label) |
static SnapshotDiffReport.DiffType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotDiffReport.DiffType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotDiffReport.DiffType CREATE
public static final SnapshotDiffReport.DiffType MODIFY
public static final SnapshotDiffReport.DiffType DELETE
public static final SnapshotDiffReport.DiffType RENAME
public static SnapshotDiffReport.DiffType[] values()
for (SnapshotDiffReport.DiffType c : SnapshotDiffReport.DiffType.values()) System.out.println(c);
public static SnapshotDiffReport.DiffType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public static SnapshotDiffReport.DiffType getTypeFromLabel(String label)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.