Package com.atlassian.bamboo.util
Interface InputSupplier<T>
-
- All Known Subinterfaces:
AvatarSupplier
,CacheableAvatarSupplier
- All Known Implementing Classes:
AbstractAvatarSupplier
,DelegatingCacheableAvatarSupplier
,FilePartAvatarSupplier
,ResourceAvatarSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface InputSupplier<T>
A readable source of typeT
.- Since:
- 9.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
open()
Provides an object that encapsulates a readable resource.
-
-
-
Method Detail
-
open
@NotNull T open() throws IOException
Provides an object that encapsulates a readable resource. Each call to this method will produce a new object.- Returns:
- object that encapsulates a readable resource.
- Throws:
IOException
- in case the readable resource could not be opened or read
-
-