Interface LongTaskService
-
- All Known Implementing Classes:
LongTaskServiceImpl
public interface LongTaskService
ManagesLongTaskStatus
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default com.atlassian.fugue.Option<LongTaskStatus>
get(LongTaskId id, Expansion... expansions)
Deprecated.since 6.13.0, use {getStatus(LongTaskId, Expansion...)
}PageResponse<LongTaskStatus>
getAll(PageRequest request, Expansion... expansions)
Returns the status of all tracked long-running tasks visible to the user.Optional<LongTaskStatus>
getStatus(LongTaskId id, Expansion... expansions)
Returns the status of a long-running task.
-
-
-
Method Detail
-
get
@Deprecated default com.atlassian.fugue.Option<LongTaskStatus> get(LongTaskId id, Expansion... expansions)
Deprecated.since 6.13.0, use {getStatus(LongTaskId, Expansion...)
}Returns the status of a long-running task.- Parameters:
id
- the identifier of the task to returnexpansions
- additional information about the task returned- Returns:
- the long running task with the supplied id
-
getStatus
Optional<LongTaskStatus> getStatus(LongTaskId id, Expansion... expansions)
Returns the status of a long-running task.- Parameters:
id
- the identifier of the task to returnexpansions
- additional information about the task returned- Returns:
- the long running task with the supplied id
- Since:
- 6.13.0
-
getAll
PageResponse<LongTaskStatus> getAll(PageRequest request, Expansion... expansions)
Returns the status of all tracked long-running tasks visible to the user.- Parameters:
request
- defines the page of tasks to be returnedexpansions
- additional information about the tasks returned- Returns:
- the currently-tracked long running tasks
-
-