| Constructor and Description |
|---|
Builder(Activity activity)
Create a new
Activity.Builder with the same field values as the passed in Activity |
Builder(String title)
Create a new
Activity.Builder that can be used to create an Activity |
| Modifier and Type | Method and Description |
|---|---|
Activity.Builder |
appId(AppId appId)
Set the application (gadget type) id of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
body(String body)
Set the body of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity |
build()
Returns the final constructed
Activity |
Activity.Builder |
externalId(String externalId)
Set the externalId of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
id(ActivityId id)
Set the id of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
mediaItems(List<MediaItem> mediaItems)
Set the mediaItems associated with the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
postedTime(Long postedTime)
Set the postedTime of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
priority(Float priority)
Set the priority of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
streamFaviconUrl(String streamFaviconUrl)
Set the streamFaviconUrl of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
streamSourceUrl(String streamSourceUrl)
Set the streamSourceUrl of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
streamTitle(String streamTitle)
Set the streamTitle of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
streamUrl(String streamUrl)
Set the streamUrl of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
updated(Date updated)
Set the updated date of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
url(String url)
Set the url of the
Activity under construction and return this Builder
to allow further construction to be done. |
Activity.Builder |
userId(PersonId userId)
Set the user id of the
Activity under construction and return this Builder
to allow further construction to be done. |
public Builder(Activity activity)
Activity.Builder with the same field values as the passed in Activityactivity - the activity whose fields should be copiedpublic Builder(String title)
Activity.Builder that can be used to create an Activitytitle - the title of the Activity under constructionpublic Activity.Builder appId(AppId appId)
Activity under construction and return this Builder
to allow further construction to be done.appId - the application id to use for the Activitypublic Activity.Builder body(String body)
Activity under construction and return this Builder
to allow further construction to be done.body - the body to use for the Activitypublic Activity.Builder externalId(String externalId)
Activity under construction and return this Builder
to allow further construction to be done.externalId - the externalId to use for the Activitypublic Activity.Builder id(ActivityId id)
Activity under construction and return this Builder
to allow further construction to be done.id - the id to use for the Activitypublic Activity.Builder updated(Date updated)
Activity under construction and return this Builder
to allow further construction to be done.updated - the updated date to use for the Activitypublic Activity.Builder mediaItems(List<MediaItem> mediaItems)
Activity under construction and return this Builder
to allow further construction to be done.mediaItems - the media items to use for the Activitypublic Activity.Builder postedTime(Long postedTime)
Activity under construction and return this Builder
to allow further construction to be done.postedTime - the postedTime to use for the Activitypublic Activity.Builder priority(Float priority)
Activity under construction and return this Builder
to allow further construction to be done.priority - the priority to use for the Activitypublic Activity.Builder streamFaviconUrl(String streamFaviconUrl)
Activity under construction and return this Builder
to allow further construction to be done.streamFaviconUrl - the streamFaviconUrl to use for the Activitypublic Activity.Builder streamSourceUrl(String streamSourceUrl)
Activity under construction and return this Builder
to allow further construction to be done.streamSourceUrl - the streamSourceUrl to use for the Activitypublic Activity.Builder streamTitle(String streamTitle)
Activity under construction and return this Builder
to allow further construction to be done.streamTitle - the streamTitle to use for the Activitypublic Activity.Builder streamUrl(String streamUrl)
Activity under construction and return this Builder
to allow further construction to be done.streamUrl - the streamUrl to use for the Activitypublic Activity.Builder url(String url)
Activity under construction and return this Builder
to allow further construction to be done.url - the url to use for the Activitypublic Activity.Builder userId(PersonId userId)
Activity under construction and return this Builder
to allow further construction to be done.userId - the user id to use for the Activitypublic Activity build()
ActivityActivityCopyright © 2024 Atlassian. All rights reserved.