@PublicApi public final class ProjectType extends Object
JiraApplication
.Constructor and Description |
---|
ProjectType(ProjectTypeKey key,
String descriptionI18nKey,
String icon,
String color,
int weight) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getColor() |
String |
getDescriptionI18nKey() |
String |
getFormattedKey() |
String |
getIcon() |
ProjectTypeKey |
getKey() |
int |
getWeight() |
int |
hashCode() |
String |
toString() |
public ProjectType(ProjectTypeKey key, String descriptionI18nKey, String icon, String color, int weight)
key
- A unique identifier for a project type. This should be a semi-human readable string that can be shown in the UI
of an application in the absence of this pluggable project type definition.descriptionI18nKey
- The i18n description key for this project typeicon
- A Base64 representation of a SVG image that represents the icon for the projects of this type.color
- A string representing the color to be used on lozenges that are displayed for projects of this type. It should be in hex RGB format (i.e "#AABBCC")weight
- An integer used for sorting project types when displaying.public ProjectTypeKey getKey()
public String getFormattedKey()
public String getDescriptionI18nKey()
public String getIcon()
public String getColor()
public int getWeight()
Copyright © 2002-2019 Atlassian. All Rights Reserved.