public enum DashboardItemType extends Enum<DashboardItemType>
| Enum Constant and Description |
|---|
LOCAL_DASHBOARD_ITEM |
OPEN_SOCIAL_GADGET |
| Modifier and Type | Method and Description |
|---|---|
static io.atlassian.fugue.Option<DashboardItemType> |
forName(String name) |
String |
getName() |
boolean |
isOpenSocialGadget()
Determines whether or not the item type is for an open social gadget or a
local dashboard item.
|
static DashboardItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DashboardItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardItemType LOCAL_DASHBOARD_ITEM
public static final DashboardItemType OPEN_SOCIAL_GADGET
public static DashboardItemType[] values()
for (DashboardItemType c : DashboardItemType.values()) System.out.println(c);
public static DashboardItemType 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 io.atlassian.fugue.Option<DashboardItemType> forName(String name)
public String getName()
public boolean isOpenSocialGadget()
true if it is an open social gadget.Copyright © 2024 Atlassian. All rights reserved.