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