public interface

Task

implements PropertySupport
com.atlassian.bitbucket.task.Task

Class Overview

A task on a pull request.

Summary

Public Methods
@Nonnull TaskAnchor getAnchor()
@Nonnull ApplicationUser getAuthor()
@Nonnull Date getCreatedDate()
long getId()
@Nullable TaskOperations getPermittedOperations()
@Nonnull TaskState getState()
@Nonnull @RequiredString String getText()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.property.PropertySupport

Public Methods

@Nonnull public TaskAnchor getAnchor ()

Returns
  • the anchor of the task, such as a pull request's comment

@Nonnull public ApplicationUser getAuthor ()

Returns
  • the author of the task

@Nonnull public Date getCreatedDate ()

Returns
  • the date when the task was originally created

public long getId ()

Returns
  • the task's ID, which is globally unique

@Nullable public TaskOperations getPermittedOperations ()

Returns
  • the operations allowed by the current user or null if none are permitted

@Nonnull public TaskState getState ()

Returns
  • the state (e.g. open or resolved) of the task

@Nonnull @RequiredString public String getText ()

Returns
  • the raw text of the task (limited to 32k)