public static enum PatchingTaskContext.Mode extends Enum<PatchingTaskContext.Mode>
Modifier and Type | Method and Description |
---|---|
static PatchingTaskContext.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchingTaskContext.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchingTaskContext.Mode APPLY
public static final PatchingTaskContext.Mode UNDO
public static final PatchingTaskContext.Mode ROLLBACK
public static PatchingTaskContext.Mode[] values()
for (PatchingTaskContext.Mode c : PatchingTaskContext.Mode.values()) System.out.println(c);
public static PatchingTaskContext.Mode 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 nullCopyright © 2023 JBoss by Red Hat. All rights reserved.