public class ListTasks extends Object implements RestReadView<ConfigResource>
Modifier and Type | Class and Description |
---|---|
static class |
ListTasks.TaskInfo |
Constructor and Description |
---|
ListTasks(WorkQueue workQueue,
ProjectCache projectCache,
com.google.inject.Provider<IdentifiedUser> self) |
Modifier and Type | Method and Description |
---|---|
List<ListTasks.TaskInfo> |
apply(ConfigResource resource)
Process the view operation by reading from the resource.
|
@Inject public ListTasks(WorkQueue workQueue, ProjectCache projectCache, com.google.inject.Provider<IdentifiedUser> self)
public List<ListTasks.TaskInfo> apply(ConfigResource resource) throws AuthException
RestReadView
apply
in interface RestReadView<ConfigResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.