public interface JiraPluginAvatar
Modifier and Type | Method and Description |
---|---|
InputStream |
getBytes()
Provides an InputStream for reading the image data.
|
String |
getContentType()
The MIME type for the Avatar.
|
String |
getOwnerId()
String representation of the primary unique id of the user (or other entity) that the Avatar belongs to.
|
int |
getSize()
The t-shirt size following AUI
size definitions, e.g. |
String |
getUrl()
Return an absolute URL that can be used to fetch the image data for this Avatar.
|
boolean |
isExternal()
Whether the URL for the Avatar is hosted on an external and internet-accessible service like Gravatar, Atlassian
ID avatars or some other universally accessible service.
|
String getOwnerId()
String getUrl()
isExternal()
must return false.int getSize()
size
definitions, e.g. xsmall,
medium, xxlarge. See .String getContentType()
boolean isExternal()
getBytes()
.InputStream getBytes() throws IOException
IOException
- if called when returns true or if the bytes cannot be found.Copyright © 2002-2015 Atlassian. All Rights Reserved.