public static enum CategoryService.Mode extends Enum<CategoryService.Mode>
Enum Constant and Description |
---|
ALL |
MEMBERS |
SUB_CATEGORIES |
Modifier and Type | Method and Description |
---|---|
static CategoryService.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CategoryService.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CategoryService.Mode MEMBERS
public static final CategoryService.Mode SUB_CATEGORIES
public static final CategoryService.Mode ALL
public static CategoryService.Mode[] values()
for (CategoryService.Mode c : CategoryService.Mode.values()) System.out.println(c);
public static CategoryService.Mode 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 nullCopyright © 2005–2017 Alfresco Software. All rights reserved.