public enum IndexingStrategyConfiguration extends Enum<IndexingStrategyConfiguration>
Enum Constant and Description |
---|
EVENT
Indexing is triggered automatically upon entity insertion, update etc.
|
MANUAL
Indexing is triggered explicitly.
|
Modifier and Type | Method and Description |
---|---|
static IndexingStrategyConfiguration |
fromExternalRepresentation(String indexingMode)
Returns the
IndexingStrategyConfiguration matching the given external representation as specified via
SearchOrmSettings.INDEXING_STRATEGY |
String |
toExternalRepresentation()
Returns the external representation of this indexing mode.
|
static IndexingStrategyConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexingStrategyConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexingStrategyConfiguration EVENT
public static final IndexingStrategyConfiguration MANUAL
public static IndexingStrategyConfiguration[] values()
for (IndexingStrategyConfiguration c : IndexingStrategyConfiguration.values()) System.out.println(c);
public static IndexingStrategyConfiguration 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 static IndexingStrategyConfiguration fromExternalRepresentation(String indexingMode)
IndexingStrategyConfiguration
matching the given external representation as specified via
SearchOrmSettings.INDEXING_STRATEGY
indexingMode
- the indexing mode external representationIndexingStrategyConfiguration
public String toExternalRepresentation()
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.