com.atlassian.jira.issue.fields.rest.json.WorklogBeanFactory |
Known Indirect Subclasses |
@Internal
or @PublicApi
.
This provides a simple, dependency-free, straight forward API to generating the JSON corresponding to a Worklog.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generate a bean suitable for serialisation by Jackson into JSON.
| |||||||||||
Generate beans suitable for serialisation by Jackson into JSON.
|
Generate a bean suitable for serialisation by Jackson into JSON.
worklog | Worklog which would be used for creating bean. |
---|---|
loggedInUser | WorklogJsonBean will be created in the context of loggedInUser (i.e. hide email address if necessary) |
Generate beans suitable for serialisation by Jackson into JSON.
worklogs | Worklogs which would be used for creating a collection of beans. |
---|---|
loggedInUser | WorklogJsonBean will be created in the context of loggedInUser (i.e. hide email address if necessary) |