public enum BreadcrumbStrategy extends Enum<BreadcrumbStrategy>
Enum Constant and Description |
---|
NONE
No Breadcrumbs are shown.
|
SHORTEST_PATH_TO_ROOT
The shortest path to root is always calculated and shown as breadcrumbs.
|
Modifier and Type | Method and Description |
---|---|
static BreadcrumbStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BreadcrumbStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreadcrumbStrategy NONE
public static final BreadcrumbStrategy SHORTEST_PATH_TO_ROOT
public static BreadcrumbStrategy[] values()
for (BreadcrumbStrategy c : BreadcrumbStrategy.values()) System.out.println(c);
public static BreadcrumbStrategy 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 © 2020. All rights reserved.