Interface Group.Builder

    • Method Detail

      • withAnnotation

        Group.Builder withAnnotation​(String role,
                                     Annotation annotation)
        Add an annotation to this group with the specified role.
        Parameters:
        role - the role within the group
        annotation - the annotation to add
        Returns:
        this builder for chaining