public static enum Avatar.Type extends Enum<Avatar.Type>
Modifier and Type | Method and Description |
---|---|
static Avatar.Type |
getByName(String name) |
Long |
getDefaultId(ApplicationProperties applicationProperties) |
String |
getName()
The canonical String representation of the type.
|
static Avatar.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Avatar.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Avatar.Type PROJECT
public static final Avatar.Type USER
public static final Avatar.Type ISSUETYPE
public static Avatar.Type[] values()
for (Avatar.Type c : Avatar.Type.values()) System.out.println(c);
public static Avatar.Type 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 getName()
public static Avatar.Type getByName(String name)
public Long getDefaultId(ApplicationProperties applicationProperties)
Copyright © 2002-2015 Atlassian. All Rights Reserved.