@RestController
@RequestMapping(value="/log")
public class TaskLogController
extends java.lang.Object
| Constructor and Description |
|---|
TaskLogController() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleTaskLogNotFoundException(TaskLogNotFoundException e) |
TaskLogEntryResources |
provideLogEntries(java.util.List<java.lang.String> byStatus,
java.util.List<java.lang.String> byProperty,
int offset,
int limit) |
java.util.Map |
provideLogEntriesCount(java.lang.String[] byStatus) |
TaskLogEntryResource |
provideTaskLog(java.util.UUID taskId) |
@ExceptionHandler(value=TaskLogNotFoundException.class) @ResponseStatus(value=NOT_FOUND, reason="Requested Task Log Not Found") public void handleTaskLogNotFoundException(TaskLogNotFoundException e)
@RequestMapping(value="/count",
method=GET)
public java.util.Map provideLogEntriesCount(@RequestParam(value="status")
java.lang.String[] byStatus)
@RequestMapping(method=GET) public TaskLogEntryResources provideLogEntries(@RequestParam(value="status",required=false) java.util.List<java.lang.String> byStatus, @RequestParam(value="property",required=false) java.util.List<java.lang.String> byProperty, @RequestParam(value="offset",required=false,defaultValue="0") int offset, @RequestParam(value="limit",required=false,defaultValue="10") int limit)
@RequestMapping(value="/task/{taskId}",
method=GET)
public TaskLogEntryResource provideTaskLog(@PathVariable(value="taskId")
java.util.UUID taskId)