IconType
in place of this. Since v7.1@Deprecated public static enum Avatar.Type extends Enum<Avatar.Type>
Enum Constant and Description |
---|
ISSUETYPE
Deprecated.
|
OTHER
Deprecated.
This means that the type cannot be represented by
Avatar.Type . |
PROJECT
Deprecated.
|
USER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Avatar.Type |
getByIconType(IconType iconType)
Deprecated.
Convert from an iconType.
|
static Avatar.Type |
getByName(String name)
Deprecated.
|
Long |
getDefaultId(ApplicationProperties applicationProperties)
Deprecated.
|
String |
getName()
Deprecated.
The canonical String representation of the type.
|
static boolean |
supportsName(String name)
Deprecated.
Check if this type name is supported by
Avatar.Type . |
static Avatar.Type |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Avatar.Type[] |
values()
Deprecated.
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 final Avatar.Type OTHER
Avatar.Type
. Call Avatar.getIconType()
instead.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 static Avatar.Type getByIconType(IconType iconType)
iconType
- The iconType to look up.OTHER
.public static boolean supportsName(String name)
Avatar.Type
. JIRA supports pluggable IconType
implementations, not all of which are supported by Avatar.Type
. This method can tell you if
the Avatar type name you are looking for is supported by Avatar.Type
.name
- The type name to look up.getByName(String)
}
will return a valid value.public Long getDefaultId(ApplicationProperties applicationProperties)
Copyright © 2002-2024 Atlassian. All Rights Reserved.