public static enum SolrMetricManager.ResolutionStrategy extends Enum<SolrMetricManager.ResolutionStrategy>
Enum Constant and Description |
---|
ERROR
An exception will be thrown.
|
IGNORE
The existing metric will be kept and the new metric will be ignored
|
REPLACE
The existing metric will be removed and replaced with the new metric
|
Modifier and Type | Method and Description |
---|---|
static SolrMetricManager.ResolutionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrMetricManager.ResolutionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrMetricManager.ResolutionStrategy IGNORE
public static final SolrMetricManager.ResolutionStrategy REPLACE
public static final SolrMetricManager.ResolutionStrategy ERROR
public static SolrMetricManager.ResolutionStrategy[] values()
for (SolrMetricManager.ResolutionStrategy c : SolrMetricManager.ResolutionStrategy.values()) System.out.println(c);
public static SolrMetricManager.ResolutionStrategy 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 nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.