public enum ControllerType extends Enum<ControllerType>
| Enum Constant and Description |
|---|
COLLECTION |
DETAIL |
DETAIL_ITEM |
ITEM |
SEARCH |
| Modifier and Type | Method and Description |
|---|---|
static ControllerType |
getControllerType(String typeName) |
static ControllerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControllerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControllerType COLLECTION
public static final ControllerType DETAIL
public static final ControllerType ITEM
public static final ControllerType SEARCH
public static final ControllerType DETAIL_ITEM
public static ControllerType[] values()
for (ControllerType c : ControllerType.values()) System.out.println(c);
public static ControllerType 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 ControllerType getControllerType(String typeName)
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.