public enum IndexStrategy extends Enum<IndexStrategy>
Modifier and Type | Method and Description |
---|---|
String |
getIndex(IndexSettings indexSettings,
String indexName,
java.time.temporal.TemporalAccessor temporal) |
String |
getPattern() |
static IndexStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexStrategy YEARLY
public static final IndexStrategy MONTHLY
public static final IndexStrategy DAILY
public static final IndexStrategy HOURLY
public static IndexStrategy[] values()
for (IndexStrategy c : IndexStrategy.values()) System.out.println(c);
public static IndexStrategy 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 getIndex(IndexSettings indexSettings, String indexName, java.time.temporal.TemporalAccessor temporal)
public String getPattern()
Copyright © 2021. All rights reserved.