Package org.ec4j.core.model
Class Comments.CommentBlocks.Builder
java.lang.Object
org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder<Comments.CommentBlocks.Builder>
org.ec4j.core.model.Comments.CommentBlocks.Builder
- Enclosing class:
Comments.CommentBlocks
public static class Comments.CommentBlocks.Builder
extends Adaptable.DefaultAdaptable.Builder<Comments.CommentBlocks.Builder>
A
Comments.CommentBlocks builder.-
Field Summary
FieldsFields inherited from class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
adapters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()commentBlock(Comments.CommentBlock commentBlock) Adds a singleComments.CommentBlock.commentBlocks(Collection<Comments.CommentBlock> commentBlocks) Adds multipleComments.CommentBlocks.commentBlocks(Comments.CommentBlock... commentBlocks) Adds multipleComments.CommentBlocks.Methods inherited from class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
adapter, adapters, adapters, sealAdapters
-
Field Details
-
commentBlocks
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Returns:
- new
Comments.CommentBlocks
-
commentBlock
Adds a singleComments.CommentBlock.- Parameters:
commentBlock- theComments.CommentBlockto add- Returns:
- this
Comments.CommentBlocks.Builder
-
commentBlocks
public Comments.CommentBlocks.Builder commentBlocks(Collection<Comments.CommentBlock> commentBlocks) Adds multipleComments.CommentBlocks.- Parameters:
commentBlocks- theComments.CommentBlocks to add- Returns:
- this
Comments.CommentBlocks.Builder
-
commentBlocks
Adds multipleComments.CommentBlocks.- Parameters:
commentBlocks- theComments.CommentBlocks to add- Returns:
- this
Comments.CommentBlocks.Builder
-
openCommentBlock
- Returns:
- new
Comments.CommentBlock.Builder
-