public static enum SolrConstants.ExecutionMode extends java.lang.Enum<SolrConstants.ExecutionMode>
Enum Constant and Description |
---|
ADD
Add.
|
DELETE
Delete.
|
UPDATE
Update, treated the same as
ADD . |
Modifier and Type | Method and Description |
---|---|
static SolrConstants.ExecutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SolrConstants.ExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrConstants.ExecutionMode ADD
public static final SolrConstants.ExecutionMode DELETE
public static final SolrConstants.ExecutionMode UPDATE
ADD
.public static SolrConstants.ExecutionMode[] values()
for (SolrConstants.ExecutionMode c : SolrConstants.ExecutionMode.values()) System.out.println(c);
public static SolrConstants.ExecutionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null