Class AbstractAvatarSupplier

java.lang.Object
com.atlassian.bamboo.avatar.AbstractAvatarSupplier
All Implemented Interfaces:
AvatarSupplier, InputSupplier<InputStream>
Direct Known Subclasses:
FilePartAvatarSupplier, ResourceAvatarSupplier

public abstract class AbstractAvatarSupplier extends Object implements AvatarSupplier
  • Constructor Details

    • AbstractAvatarSupplier

      protected AbstractAvatarSupplier()
    • AbstractAvatarSupplier

      protected AbstractAvatarSupplier(String contentType)
  • Method Details

    • getContentType

      public String getContentType()
      Description copied from interface: AvatarSupplier
      The content type of the avatar, e.g., "image/png"
      Specified by:
      getContentType in interface AvatarSupplier
      Returns:
      the string representing the content type