|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SearchRestrictionEntityTranslator.SupportedType> com.atlassian.crowd.plugin.rest.util.SearchRestrictionEntityTranslator.SupportedType
public static enum SearchRestrictionEntityTranslator.SupportedType
Represents a supported value type.
Enum Constant Summary | |
---|---|
BOOLEAN
|
|
DATE
|
|
STRING
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SearchRestrictionEntityTranslator.SupportedType BOOLEAN
public static final SearchRestrictionEntityTranslator.SupportedType DATE
public static final SearchRestrictionEntityTranslator.SupportedType STRING
Method Detail |
---|
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 name
NullPointerException
- 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 type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |