public class ProjectTypeIconRendererImpl extends Object implements ProjectTypeIconRenderer
ProjectTypeIconRenderer
Constructor and Description |
---|
ProjectTypeIconRendererImpl(ProjectTypeManager projectTypeManager) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getIconToRender(ProjectTypeKey key)
Returns the icon to render for the project type with the given key.
|
public ProjectTypeIconRendererImpl(ProjectTypeManager projectTypeManager)
public Optional<String> getIconToRender(ProjectTypeKey key)
ProjectTypeIconRenderer
The icon to be rendered will be the one defined for the project type with the given key as long as that project type is installed on the JIRA instance.
Otherwise, the icon will be a grayed out one, indicating that the project type is not accessible.
getIconToRender
in interface ProjectTypeIconRenderer
key
- The project type key.Copyright © 2002-2019 Atlassian. All Rights Reserved.