@RestController
public class JLineupController
extends java.lang.Object
| Constructor and Description |
|---|
JLineupController(JLineupService jLineupService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
exceptionHandler(BrowserNotInstalledException exception) |
org.springframework.http.ResponseEntity<java.lang.String> |
exceptionHandler(com.fasterxml.jackson.databind.exc.InvalidDefinitionException exception) |
org.springframework.http.ResponseEntity<java.lang.String> |
exceptionHandler(InvalidRunStateException exception) |
org.springframework.http.ResponseEntity<java.lang.String> |
exceptionHandler(RunNotFoundException exception) |
org.springframework.http.ResponseEntity<java.lang.String> |
exceptionHandler(de.otto.jlineup.exceptions.ValidationError exception) |
java.lang.String |
getHello(javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<JLineupRunStatus> |
getRun(java.lang.String runId) |
org.springframework.http.ResponseEntity<java.lang.Void> |
runAfter(java.lang.String runId,
javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<RunBeforeResponse> |
runBefore(de.otto.jlineup.config.JobConfig jobConfig,
javax.servlet.http.HttpServletRequest request) |
@Autowired public JLineupController(JLineupService jLineupService)
@GetMapping(value="/") public java.lang.String getHello(javax.servlet.http.HttpServletRequest request)
@PostMapping(value="/runs") public org.springframework.http.ResponseEntity<RunBeforeResponse> runBefore(@RequestBody de.otto.jlineup.config.JobConfig jobConfig, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
java.lang.Exception@PostMapping(value="/runs/{runId}")
public org.springframework.http.ResponseEntity<java.lang.Void> runAfter(@PathVariable
java.lang.String runId,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
java.lang.Exception@GetMapping(value="/runs/{runId}")
public org.springframework.http.ResponseEntity<JLineupRunStatus> getRun(@PathVariable
java.lang.String runId)
@ExceptionHandler(value=RunNotFoundException.class) public org.springframework.http.ResponseEntity<java.lang.String> exceptionHandler(RunNotFoundException exception)
@ExceptionHandler(value=InvalidRunStateException.class) public org.springframework.http.ResponseEntity<java.lang.String> exceptionHandler(InvalidRunStateException exception)
@ExceptionHandler(value=BrowserNotInstalledException.class) public org.springframework.http.ResponseEntity<java.lang.String> exceptionHandler(BrowserNotInstalledException exception)
@ExceptionHandler(value=com.fasterxml.jackson.databind.exc.InvalidDefinitionException.class) public org.springframework.http.ResponseEntity<java.lang.String> exceptionHandler(com.fasterxml.jackson.databind.exc.InvalidDefinitionException exception)
@ExceptionHandler(value=de.otto.jlineup.exceptions.ValidationError.class) public org.springframework.http.ResponseEntity<java.lang.String> exceptionHandler(de.otto.jlineup.exceptions.ValidationError exception)