public static enum LuceneIndexConstants.IndexingMode extends Enum<LuceneIndexConstants.IndexingMode>
Modifier and Type | Method and Description |
---|---|
String |
asyncValueName() |
static LuceneIndexConstants.IndexingMode |
from(String indexingMode) |
static LuceneIndexConstants.IndexingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LuceneIndexConstants.IndexingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LuceneIndexConstants.IndexingMode SYNC
public static final LuceneIndexConstants.IndexingMode NRT
public static final LuceneIndexConstants.IndexingMode ASYNC
public static LuceneIndexConstants.IndexingMode[] values()
for (LuceneIndexConstants.IndexingMode c : LuceneIndexConstants.IndexingMode.values()) System.out.println(c);
public static LuceneIndexConstants.IndexingMode 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 String asyncValueName()
public static LuceneIndexConstants.IndexingMode from(String indexingMode)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.