Module io.annot8.testing.testimpl
Class TestInputStreamContent
- java.lang.Object
-
- io.annot8.testing.testimpl.AbstractTestContent<InputStream>
-
- io.annot8.testing.testimpl.content.TestInputStreamContent
-
- All Implemented Interfaces:
io.annot8.common.data.content.InputStreamContent,io.annot8.core.data.Content<InputStream>,io.annot8.core.helpers.WithId,io.annot8.core.helpers.WithProperties
public class TestInputStreamContent extends AbstractTestContent<InputStream> implements io.annot8.common.data.content.InputStreamContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestInputStreamContent.Builderstatic classTestInputStreamContent.BuilderFactory
-
Constructor Summary
Constructors Constructor Description TestInputStreamContent()TestInputStreamContent(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore, String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)TestInputStreamContent(io.annot8.core.stores.AnnotationStore annotations, String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)TestInputStreamContent(String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends io.annot8.core.data.Content<InputStream>>getContentClass()-
Methods inherited from class io.annot8.testing.testimpl.AbstractTestContent
getAnnotations, getData, getDataClass, getId, getName, getProperties, setAnnotations, setData, setData, setId, setName, setProperties
-
Methods inherited from interface io.annot8.core.data.Content
getAnnotations, getData, getDataClass, getName
-
-
-
-
Constructor Detail
-
TestInputStreamContent
public TestInputStreamContent()
-
TestInputStreamContent
public TestInputStreamContent(String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
-
TestInputStreamContent
public TestInputStreamContent(io.annot8.core.stores.AnnotationStore annotations, String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
-
TestInputStreamContent
public TestInputStreamContent(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore, String id, String name, io.annot8.core.properties.ImmutableProperties properties, Supplier<InputStream> data)
-
-
Method Detail
-
getContentClass
public Class<? extends io.annot8.core.data.Content<InputStream>> getContentClass()
- Specified by:
getContentClassin interfaceio.annot8.core.data.Content<InputStream>
-
-