public static enum MoreLikeThisParams.TermStyle extends Enum<MoreLikeThisParams.TermStyle>
Modifier and Type | Method and Description |
---|---|
static MoreLikeThisParams.TermStyle |
get(String p) |
static MoreLikeThisParams.TermStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MoreLikeThisParams.TermStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoreLikeThisParams.TermStyle NONE
public static final MoreLikeThisParams.TermStyle LIST
public static final MoreLikeThisParams.TermStyle DETAILS
public static MoreLikeThisParams.TermStyle[] values()
for (MoreLikeThisParams.TermStyle c : MoreLikeThisParams.TermStyle.values()) System.out.println(c);
public static MoreLikeThisParams.TermStyle 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 static MoreLikeThisParams.TermStyle get(String p)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.