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