Package com.atlassian.bamboo.avatar
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 Summary
Constructors Modifier Constructor Description protected
AbstractAvatarSupplier()
protected
AbstractAvatarSupplier(String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
The content type of the avatar, e.g., "image/png"-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.avatar.AvatarSupplier
open
-
-
-
-
Constructor Detail
-
AbstractAvatarSupplier
protected AbstractAvatarSupplier()
-
AbstractAvatarSupplier
protected AbstractAvatarSupplier(String contentType)
-
-
Method Detail
-
getContentType
public String getContentType()
Description copied from interface:AvatarSupplier
The content type of the avatar, e.g., "image/png"- Specified by:
getContentType
in interfaceAvatarSupplier
- Returns:
- the string representing the content type
-
-