Interface RtCollectionModelFactory
public interface RtCollectionModelFactory
The factory for creating collection model entities.
- Since:
- 3.17.0
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfile
(RtFileProperties fileProperties, Supplier<InputStream> inputStreamSource)
-
Method Details
-
file
@NotNull RtFile file(@NotNull RtFileProperties fileProperties, @NotNull Supplier<InputStream> inputStreamSource) - Parameters:
fileProperties
- theRtFileProperties
instance that contains the repository file's properties.inputStreamSource
- the supplier of repository file's content. It should supply new input stream with every invocation ofSupplier.get()
method.- Returns:
RtFile
instance with a specifiedfileInfo
andinputStreamSource
.
-
fileProperties
- Returns:
- builder for
RtFileProperties
-