public enum FavoriteType extends Enum<FavoriteType>
| Enum Constant and Description |
|---|
FOLDER |
REPORT |
SHEET |
TEMPLATE |
WORKSPACE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static FavoriteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FavoriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FavoriteType WORKSPACE
public static final FavoriteType TEMPLATE
public static final FavoriteType FOLDER
public static final FavoriteType SHEET
public static final FavoriteType REPORT
public static FavoriteType[] values()
for (FavoriteType c : FavoriteType.values()) System.out.println(c);
public static FavoriteType 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 String toString()
toString in class Enum<FavoriteType>Copyright © 2014–2017 Smartsheet. All rights reserved.