Class CommentBuilderImpl
- java.lang.Object
-
- com.flowable.platform.engine.impl.comment.CommentBuilderImpl
-
- All Implemented Interfaces:
CommentBuilder
public class CommentBuilderImpl extends Object implements CommentBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutor
commandExecutor
protected String
content
protected String
scopeId
protected String
scopeType
protected String
userId
-
Constructor Summary
Constructors Constructor Description CommentBuilderImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentBuilder
content(String content)
Comment
create()
String
getContent()
String
getScopeId()
String
getScopeType()
String
getUserId()
CommentBuilder
scope(String scopeId, String scopeType)
CommentBuilder
userId(String userId)
-
-
-
Field Detail
-
commandExecutor
protected CommandExecutor commandExecutor
-
scopeId
protected String scopeId
-
scopeType
protected String scopeType
-
content
protected String content
-
userId
protected String userId
-
-
Constructor Detail
-
CommentBuilderImpl
public CommentBuilderImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
scope
public CommentBuilder scope(String scopeId, String scopeType)
- Specified by:
scope
in interfaceCommentBuilder
-
userId
public CommentBuilder userId(String userId)
- Specified by:
userId
in interfaceCommentBuilder
-
content
public CommentBuilder content(String content)
- Specified by:
content
in interfaceCommentBuilder
-
create
public Comment create()
- Specified by:
create
in interfaceCommentBuilder
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getContent
public String getContent()
-
getUserId
public String getUserId()
-
-