org.alfresco.webdrone.share.dashlet
Enum MyActivitiesDashlet.LinkType
java.lang.Object
java.lang.Enum<MyActivitiesDashlet.LinkType>
org.alfresco.webdrone.share.dashlet.MyActivitiesDashlet.LinkType
- All Implemented Interfaces:
- Serializable, Comparable<MyActivitiesDashlet.LinkType>
- Enclosing class:
- MyActivitiesDashlet
public static enum MyActivitiesDashlet.LinkType
- extends Enum<MyActivitiesDashlet.LinkType>
User
public static final MyActivitiesDashlet.LinkType User
Document
public static final MyActivitiesDashlet.LinkType Document
Site
public static final MyActivitiesDashlet.LinkType Site
values
public static MyActivitiesDashlet.LinkType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MyActivitiesDashlet.LinkType c : MyActivitiesDashlet.LinkType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MyActivitiesDashlet.LinkType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.