public class CommentBuilderImpl extends Object implements CommentBuilder
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected String |
content |
protected String |
scopeId |
protected String |
scopeType |
protected String |
userId |
Constructor and Description |
---|
CommentBuilderImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and 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) |
protected CommandExecutor commandExecutor
protected String scopeId
protected String scopeType
protected String content
protected String userId
public CommentBuilderImpl(CommandExecutor commandExecutor)
public CommentBuilder scope(String scopeId, String scopeType)
scope
in interface CommentBuilder
public CommentBuilder userId(String userId)
userId
in interface CommentBuilder
public CommentBuilder content(String content)
content
in interface CommentBuilder
public Comment create()
create
in interface CommentBuilder
public String getScopeId()
public String getScopeType()
public String getContent()
public String getUserId()