public static enum SearchRestrictionEntityTranslator.SupportedType extends Enum<SearchRestrictionEntityTranslator.SupportedType>
| Modifier and Type | Method and Description |
|---|---|
Class |
getType() |
static SearchRestrictionEntityTranslator.SupportedType |
of(Class type)
Returns the SupportedType from the specified Class type.
|
static SearchRestrictionEntityTranslator.SupportedType |
of(String supportedType)
Returns the SupportedType from the specified name.
|
static SearchRestrictionEntityTranslator.SupportedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchRestrictionEntityTranslator.SupportedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchRestrictionEntityTranslator.SupportedType BOOLEAN
public static final SearchRestrictionEntityTranslator.SupportedType DATE
public static final SearchRestrictionEntityTranslator.SupportedType STRING
public static SearchRestrictionEntityTranslator.SupportedType[] values()
for (SearchRestrictionEntityTranslator.SupportedType c : SearchRestrictionEntityTranslator.SupportedType.values()) System.out.println(c);
public static SearchRestrictionEntityTranslator.SupportedType 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 Class getType()
public static SearchRestrictionEntityTranslator.SupportedType of(String supportedType)
supportedType - Name of the enum constant.public static SearchRestrictionEntityTranslator.SupportedType of(Class type)
type - Class of the supported typeCopyright © 2017 Atlassian. All rights reserved.