public static enum RefinementMenuConfig.RefinementsShown extends Enum<RefinementMenuConfig.RefinementsShown>
RefinementMenuConfig.getRefinementsShown()| Enum Constant and Description |
|---|
ALL
A navigation refinement menu config that defines "ALL".
|
NONE
A navigation refinement menu config that defines "none".
|
SOME
A navigation refinement menu config that defines "some".
|
| Modifier and Type | Method and Description |
|---|---|
static String |
configName()
The parameter name of the configuration.
|
static RefinementMenuConfig.RefinementsShown |
getValue(String mode)
Returns the
RefinementMenuConfig.RefinementsShown whose toString() method matches
the input argument. |
String |
toString() |
static RefinementMenuConfig.RefinementsShown |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefinementMenuConfig.RefinementsShown[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefinementMenuConfig.RefinementsShown NONE
public static final RefinementMenuConfig.RefinementsShown SOME
RefinementMenuConfig.getNumRefinements() property.public static final RefinementMenuConfig.RefinementsShown ALL
RefinementMenuConfig.getMaxNumRefinements() property.public static RefinementMenuConfig.RefinementsShown[] values()
for (RefinementMenuConfig.RefinementsShown c : RefinementMenuConfig.RefinementsShown.values()) System.out.println(c);
public static RefinementMenuConfig.RefinementsShown 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 toString()
toString in class Enum<RefinementMenuConfig.RefinementsShown>public static String configName()
public static RefinementMenuConfig.RefinementsShown getValue(String mode)
RefinementMenuConfig.RefinementsShown whose toString() method matches
the input argument. If no such RefinementMenuConfig.RefinementsShown is found, throws an IllegalArgumentException.
This method should be used instead of Enum.valueOf(Class, String).
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.