public static class

AvatarFormatPolicy.PngAvatarFormatPolicyBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.jira.avatar.AvatarFormatPolicy.PngAvatarFormatPolicyBuilder

Class Overview

Builder used for building PngAvatarFormatPolicy.

Summary

Public Methods
AvatarFormatPolicy withFallingBackToOriginalDataStrategy()
AvatarFormatPolicy withRejectingFallbackStrategy()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public AvatarFormatPolicy withFallingBackToOriginalDataStrategy ()

Returns
  • a policy that is expecting avatar in PNG format and fall back to avatar's original data if transcoding is not possible.

public AvatarFormatPolicy withRejectingFallbackStrategy ()

Returns