Class DelegateGroupBuilder
- java.lang.Object
-
- io.annot8.implementations.support.delegates.DelegateGroupBuilder
-
- All Implemented Interfaces:
io.annot8.api.annotations.Group.Builder,io.annot8.api.helpers.builders.WithFromBuilder<io.annot8.api.annotations.Group.Builder,io.annot8.api.annotations.Group>,io.annot8.api.helpers.builders.WithIdBuilder<io.annot8.api.annotations.Group.Builder>,io.annot8.api.helpers.builders.WithNewIdBuilder<io.annot8.api.annotations.Group.Builder>,io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>,io.annot8.api.helpers.builders.WithSave<io.annot8.api.annotations.Group>,io.annot8.api.helpers.builders.WithTypeBuilder<io.annot8.api.annotations.Group.Builder>
public class DelegateGroupBuilder extends Object implements io.annot8.api.annotations.Group.Builder
-
-
Constructor Summary
Constructors Constructor Description DelegateGroupBuilder(io.annot8.api.annotations.Group.Builder delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.annot8.api.annotations.Group.Builderfrom(io.annot8.api.annotations.Group from)io.annot8.api.annotations.Group.BuildernewId()io.annot8.api.annotations.Groupsave()io.annot8.api.annotations.Group.BuilderwithAnnotation(String role, io.annot8.api.annotations.Annotation annotation)io.annot8.api.annotations.Group.BuilderwithId(String id)io.annot8.api.annotations.Group.BuilderwithoutProperty(String key)io.annot8.api.annotations.Group.BuilderwithoutProperty(String key, Object value)io.annot8.api.annotations.Group.BuilderwithProperties(io.annot8.api.properties.Properties properties)io.annot8.api.annotations.Group.BuilderwithProperty(String key, Object value)io.annot8.api.annotations.Group.BuilderwithPropertyIfPresent(String key, Optional<?> value)io.annot8.api.annotations.Group.BuilderwithType(String type)
-
-
-
Method Detail
-
withAnnotation
public io.annot8.api.annotations.Group.Builder withAnnotation(String role, io.annot8.api.annotations.Annotation annotation)
- Specified by:
withAnnotationin interfaceio.annot8.api.annotations.Group.Builder
-
from
public io.annot8.api.annotations.Group.Builder from(io.annot8.api.annotations.Group from)
- Specified by:
fromin interfaceio.annot8.api.helpers.builders.WithFromBuilder<io.annot8.api.annotations.Group.Builder,io.annot8.api.annotations.Group>
-
withId
public io.annot8.api.annotations.Group.Builder withId(String id)
- Specified by:
withIdin interfaceio.annot8.api.helpers.builders.WithIdBuilder<io.annot8.api.annotations.Group.Builder>
-
newId
public io.annot8.api.annotations.Group.Builder newId()
- Specified by:
newIdin interfaceio.annot8.api.helpers.builders.WithNewIdBuilder<io.annot8.api.annotations.Group.Builder>
-
withProperty
public io.annot8.api.annotations.Group.Builder withProperty(String key, Object value)
- Specified by:
withPropertyin interfaceio.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>
-
withPropertyIfPresent
public io.annot8.api.annotations.Group.Builder withPropertyIfPresent(String key, Optional<?> value)
- Specified by:
withPropertyIfPresentin interfaceio.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>
-
withoutProperty
public io.annot8.api.annotations.Group.Builder withoutProperty(String key, Object value)
- Specified by:
withoutPropertyin interfaceio.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>
-
withoutProperty
public io.annot8.api.annotations.Group.Builder withoutProperty(String key)
- Specified by:
withoutPropertyin interfaceio.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>
-
withProperties
public io.annot8.api.annotations.Group.Builder withProperties(io.annot8.api.properties.Properties properties)
- Specified by:
withPropertiesin interfaceio.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Group.Builder>
-
save
public io.annot8.api.annotations.Group save()
- Specified by:
savein interfaceio.annot8.api.helpers.builders.WithSave<io.annot8.api.annotations.Group>
-
withType
public io.annot8.api.annotations.Group.Builder withType(String type)
- Specified by:
withTypein interfaceio.annot8.api.helpers.builders.WithTypeBuilder<io.annot8.api.annotations.Group.Builder>
-
-