- java.lang.Object
-
- io.annot8.testing.testimpl.TestAnnotationBuilder
-
- All Implemented Interfaces:
io.annot8.core.annotations.Annotation.Builder,io.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Annotation.Builder,io.annot8.core.annotations.Annotation>,io.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Annotation>,io.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Annotation.Builder>
public class TestAnnotationBuilder extends Object implements io.annot8.core.annotations.Annotation.Builder
-
-
Constructor Summary
Constructors Constructor Description TestAnnotationBuilder(String contentId, io.annot8.common.implementations.stores.SaveCallback<io.annot8.core.annotations.Annotation,io.annot8.core.annotations.Annotation> saver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.annot8.common.implementations.factories.AnnotationBuilderFactory<io.annot8.core.annotations.Annotation>factory()io.annot8.core.annotations.Annotation.Builderfrom(io.annot8.core.annotations.Annotation from)io.annot8.core.annotations.Annotation.BuildernewId()io.annot8.core.annotations.Annotationsave()io.annot8.core.annotations.Annotation.BuilderwithBounds(io.annot8.core.bounds.Bounds bounds)io.annot8.core.annotations.Annotation.BuilderwithId(String id)io.annot8.core.annotations.Annotation.BuilderwithoutProperty(String key)io.annot8.core.annotations.Annotation.BuilderwithoutProperty(String key, Object value)io.annot8.core.annotations.Annotation.BuilderwithProperties(io.annot8.core.properties.Properties properties)io.annot8.core.annotations.Annotation.BuilderwithProperty(String key, Object value)io.annot8.core.annotations.Annotation.BuilderwithType(String type)
-
-
-
Constructor Detail
-
TestAnnotationBuilder
public TestAnnotationBuilder(String contentId, io.annot8.common.implementations.stores.SaveCallback<io.annot8.core.annotations.Annotation,io.annot8.core.annotations.Annotation> saver)
-
-
Method Detail
-
factory
public static io.annot8.common.implementations.factories.AnnotationBuilderFactory<io.annot8.core.annotations.Annotation> factory()
-
withId
public io.annot8.core.annotations.Annotation.Builder withId(String id)
- Specified by:
withIdin interfaceio.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withBounds
public io.annot8.core.annotations.Annotation.Builder withBounds(io.annot8.core.bounds.Bounds bounds)
- Specified by:
withBoundsin interfaceio.annot8.core.annotations.Annotation.Builder
-
save
public io.annot8.core.annotations.Annotation save()
- Specified by:
savein interfaceio.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Annotation>
-
from
public io.annot8.core.annotations.Annotation.Builder from(io.annot8.core.annotations.Annotation from)
- Specified by:
fromin interfaceio.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Annotation.Builder,io.annot8.core.annotations.Annotation>
-
newId
public io.annot8.core.annotations.Annotation.Builder newId()
- Specified by:
newIdin interfaceio.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withProperty
public io.annot8.core.annotations.Annotation.Builder withProperty(String key, Object value)
- Specified by:
withPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withoutProperty
public io.annot8.core.annotations.Annotation.Builder withoutProperty(String key, Object value)
- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withoutProperty
public io.annot8.core.annotations.Annotation.Builder withoutProperty(String key)
- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withProperties
public io.annot8.core.annotations.Annotation.Builder withProperties(io.annot8.core.properties.Properties properties)
- Specified by:
withPropertiesin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withType
public io.annot8.core.annotations.Annotation.Builder withType(String type)
- Specified by:
withTypein interfaceio.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Annotation.Builder>
-
-