| Modifier and Type | Class and Description |
|---|---|
static class |
ImageInfo.Resolution
Image resolution constants for use with
getImageUri(Size, Resolution)). |
static class |
ImageInfo.Size
Image size constants for use with
getImageUri(Size, Resolution)). |
| Constructor and Description |
|---|
ImageInfo() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<String> |
getImageContentType(ImageInfo.Size size,
ImageInfo.Resolution resolution)
Returns the content type for the image, if known.
|
URI |
getImageUri()
Returns the URI of the image at its default size, for displaying at standard resolution.
|
com.atlassian.fugue.Option<URI> |
getImageUri(ImageInfo.Size size,
ImageInfo.Resolution resolution)
Returns a URI for the image at a different size, or for displaying at higher resolution.
|
Links |
getLinks()
The top-level links for the resource.
|
URI |
getSelfUri()
Returns the self link to the image resource in the Marketplace Assets API.
|
public Links getLinks()
Entitypublic URI getImageUri()
public com.atlassian.fugue.Option<URI> getImageUri(ImageInfo.Size size, ImageInfo.Resolution resolution)
public com.atlassian.fugue.Option<String> getImageContentType(ImageInfo.Size size, ImageInfo.Resolution resolution)
public URI getSelfUri()
getSelfUri in interface EntityCopyright © 2016 Atlassian. All rights reserved.