@Immutable public class CommentResultWithActions extends CommentResult
TODO: The code review for this file made some good suggestions. Basically, there should be a ResultWithActions<T> class which composes a <T> (CommentResult in this case). Of course to avoid conditional handling of the resultant JSON in the Javascript code there will need to be a way to expose the nested objects properties on the top level JSON object that is created.
Modifier and Type | Class and Description |
---|---|
static class |
CommentResultWithActions.CommentResultWithActionsBuilder |
Constructor and Description |
---|
CommentResultWithActions() |
Modifier and Type | Method and Description |
---|---|
List<UserAction> |
getPrimaryActions() |
List<UserAction> |
getSecondaryActions() |
getHtml
public List<UserAction> getPrimaryActions()
public List<UserAction> getSecondaryActions()
Copyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences