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