public static enum DocStoreQueueEntry.Action extends Enum<DocStoreQueueEntry.Action>
Enum Constant and Description |
---|
DELETE
Action is to delete a document from the doc store..
|
INDEX
Action is to update a document in the doc store.
|
NESTED
An update is required based on a change to a nested/embedded object at a given path.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Return the value associated with this action type.
|
static DocStoreQueueEntry.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocStoreQueueEntry.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocStoreQueueEntry.Action INDEX
public static final DocStoreQueueEntry.Action DELETE
public static final DocStoreQueueEntry.Action NESTED
public static DocStoreQueueEntry.Action[] values()
for (DocStoreQueueEntry.Action c : DocStoreQueueEntry.Action.values()) System.out.println(c);
public static DocStoreQueueEntry.Action 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 getValue()
Copyright © 2019. All rights reserved.