@RestController public class JobController extends Object implements IJobController
| Constructor and Description |
|---|
JobController(GraphFactory graphFactory,
UserFactory userFactory) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<JobDetail> |
getAllDetails() |
JobDetail |
getDetails(String id) |
Object |
getResults(String id) |
org.springframework.http.ResponseEntity<JobDetail> |
scheduleJob(Job job) |
org.springframework.http.ResponseEntity<JobDetail> |
startJob(Operation operation) |
@Autowired public JobController(GraphFactory graphFactory, UserFactory userFactory)
public org.springframework.http.ResponseEntity<JobDetail> startJob(@RequestBody Operation operation) throws OperationException
startJob in interface IJobControllerOperationExceptionpublic org.springframework.http.ResponseEntity<JobDetail> scheduleJob(@RequestBody Job job) throws OperationException
scheduleJob in interface IJobControllerOperationExceptionpublic JobDetail getDetails(@PathVariable(value="id") String id) throws OperationException
getDetails in interface IJobControllerOperationExceptionpublic Iterable<JobDetail> getAllDetails() throws OperationException
getAllDetails in interface IJobControllerOperationExceptionpublic Object getResults(@PathVariable(value="id") String id) throws OperationException
getResults in interface IJobControllerOperationExceptionCopyright © 2022. All rights reserved.