@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 IJobController
OperationException
public org.springframework.http.ResponseEntity<JobDetail> scheduleJob(@RequestBody Job job) throws OperationException
scheduleJob
in interface IJobController
OperationException
public JobDetail getDetails(@PathVariable(value="id") String id) throws OperationException
getDetails
in interface IJobController
OperationException
public Iterable<JobDetail> getAllDetails() throws OperationException
getAllDetails
in interface IJobController
OperationException
public Object getResults(@PathVariable(value="id") String id) throws OperationException
getResults
in interface IJobController
OperationException
Copyright © 2022. All rights reserved.