public enum PatchType extends Enum<PatchType>
| Enum Constant and Description |
|---|
CUMULATIVE |
ONE_OFF |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static PatchType |
fromLabel(String label) |
String |
label() |
static PatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchType CUMULATIVE
public static final PatchType ONE_OFF
public static final PatchType UNKNOWN
public static PatchType[] values()
for (PatchType c : PatchType.values()) System.out.println(c);
public static PatchType 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 label()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.