|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RefinementMenuConfig.RefinementsShown> com.endeca.infront.cartridge.RefinementMenuConfig.RefinementsShown
public static enum RefinementMenuConfig.RefinementsShown
An enumeration of valid values for RefinementMenuConfig.getRefinementsShown()
Enum Constant Summary | |
---|---|
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". |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RefinementMenuConfig.RefinementsShown NONE
public static final RefinementMenuConfig.RefinementsShown SOME
RefinementMenuConfig.getNumRefinements()
property.
public static final RefinementMenuConfig.RefinementsShown ALL
RefinementMenuConfig.getMaxNumRefinements()
property.
Method Detail |
---|
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 name
NullPointerException
- 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)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |