public enum Operation extends Enum<Operation>
| Enum Constant and Description |
|---|
ADD
Add the provided config to an existing list (of listeners,
clusters, virtual hosts, network filters, or http
filters).
|
INSERT_AFTER
Insert operation on an array of named objects.
|
INSERT_BEFORE
Insert operation on an array of named objects.
|
INSERT_FIRST
Insert operation on an array of named objects.
|
INVALID |
MERGE
Merge the provided config with the generated config using
json merge semantics.
|
REMOVE
Remove the selected object from the list (of listeners,
clusters, virtual hosts, network filters, or http
filters).
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation INVALID
public static final Operation MERGE
public static final Operation ADD
public static final Operation REMOVE
public static final Operation INSERT_BEFORE
public static final Operation INSERT_AFTER
public static final Operation INSERT_FIRST
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation 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 int value()
Copyright © 2017–2020 Red Hat. All rights reserved.