Module io.annot8.testing.testimpl
Class TestInputStreamContent.Builder
- java.lang.Object
-
- io.annot8.common.implementations.content.AbstractContentBuilder<InputStream,TestInputStreamContent>
-
- io.annot8.testing.testimpl.content.TestInputStreamContent.Builder
-
- All Implemented Interfaces:
io.annot8.core.data.Content.Builder<TestInputStreamContent,InputStream>,io.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.data.Content.Builder<TestInputStreamContent,InputStream>,TestInputStreamContent>,io.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.data.Content.Builder<TestInputStreamContent,InputStream>>,io.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.data.Content.Builder<TestInputStreamContent,InputStream>>,io.annot8.core.helpers.builders.WithSave<TestInputStreamContent>
- Enclosing class:
- TestInputStreamContent
public static class TestInputStreamContent.Builder extends io.annot8.common.implementations.content.AbstractContentBuilder<InputStream,TestInputStreamContent>
-
-
Constructor Summary
Constructors Constructor Description Builder(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStoreFactory, io.annot8.common.implementations.stores.SaveCallback<TestInputStreamContent,TestInputStreamContent> saver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TestInputStreamContentcreate(String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
-
-
-
Constructor Detail
-
Builder
public Builder(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStoreFactory, io.annot8.common.implementations.stores.SaveCallback<TestInputStreamContent,TestInputStreamContent> saver)
-
-
Method Detail
-
create
protected TestInputStreamContent create(String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
- Specified by:
createin classio.annot8.common.implementations.content.AbstractContentBuilder<InputStream,TestInputStreamContent>
-
-