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 CommandExecutorcommandExecutorprotected Stringcontentprotected StringscopeIdprotected StringscopeTypeprotected StringuserId
-
Constructor Summary
Constructors Constructor Description CommentBuilderImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentBuildercontent(String content)Commentcreate()StringgetContent()StringgetScopeId()StringgetScopeType()StringgetUserId()CommentBuilderscope(String scopeId, String scopeType)CommentBuilderuserId(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:
scopein interfaceCommentBuilder
-
userId
public CommentBuilder userId(String userId)
- Specified by:
userIdin interfaceCommentBuilder
-
content
public CommentBuilder content(String content)
- Specified by:
contentin interfaceCommentBuilder
-
create
public Comment create()
- Specified by:
createin interfaceCommentBuilder
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getContent
public String getContent()
-
getUserId
public String getUserId()
-
-