public interface TaskService
Task
s.Modifier and Type | Method and Description |
---|---|
Task |
create(TaskCreateRequest request)
Create a task.
|
void |
delete(long taskId)
Delete a task.
|
Task |
getById(long taskId)
Get a task by its ID.
|
Task |
update(TaskUpdateRequest request)
Update a task.
|
@Nonnull Task create(@Nonnull TaskCreateRequest request)
request
- request detailing the task's propertiesvoid delete(long taskId)
taskId
- the ID of the task to delete@Nullable Task getById(long taskId)
taskId
- the ID of the task to retrievenull
if none matches or the task is not visible to the current user@Nonnull Task update(@Nonnull TaskUpdateRequest request)
request
- the properties to updateCopyright © 2019 Atlassian. All rights reserved.