@RestController @RequestMapping(value="/stages") public class StageController extends Object
| Constructor and Description |
|---|
StageController() |
| Modifier and Type | Method and Description |
|---|---|
String |
action(String stageName,
String action) |
String |
action(String stageName,
String action,
String options) |
net.oneandone.sushi.cli.Console |
console() |
String |
execute(String stage,
String command,
String... options) |
org.springframework.http.ResponseEntity<net.oneandone.stool.dashboard.StageController.ExceptionExport> |
handleApiException(Throwable e) |
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> |
log(String stageName,
String log) |
Map<String,String> |
logs(javax.servlet.http.HttpServletRequest httpServletRequest,
String stageName) |
org.springframework.http.ResponseEntity |
stage(String stageName) |
org.springframework.web.servlet.ModelAndView |
stageAsHtml(String stageName,
org.springframework.web.servlet.ModelAndView modelAndView) |
Collection<StageInfo> |
stages() |
org.springframework.web.servlet.ModelAndView |
stagesAsHtml(org.springframework.web.servlet.ModelAndView modelAndView) |
@RequestMapping(method=GET) public Collection<StageInfo> stages() throws IOException
IOException@RequestMapping(method=GET,
produces="text/html")
public org.springframework.web.servlet.ModelAndView stagesAsHtml(org.springframework.web.servlet.ModelAndView modelAndView)
throws IOException
IOException@RequestMapping(value="{name}",
method=GET)
public org.springframework.http.ResponseEntity stage(@PathVariable(value="name")
String stageName)
throws Exception
Exception@RequestMapping(value="{name}",
method=GET,
produces="text/html")
public org.springframework.web.servlet.ModelAndView stageAsHtml(@PathVariable(value="name")
String stageName,
org.springframework.web.servlet.ModelAndView modelAndView)
throws Exception
Exception@RequestMapping(value="/{name}/logs",
method=GET)
public Map<String,String> logs(javax.servlet.http.HttpServletRequest httpServletRequest,
@PathVariable(value="name")
String stageName)
throws Exception
Exception@RequestMapping(value="/{name}/logs/{log}",
method=GET)
public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> log(@PathVariable(value="name")
String stageName,
@PathVariable(value="log")
String log)
throws Exception
Exception@RequestMapping(value="{name}/{action}",
method=POST)
public String action(@PathVariable(value="name")
String stageName,
@PathVariable(value="action")
String action)
throws Exception
Exception@RequestMapping(value="{name}/{action}/{options}",
method=POST)
public String action(@PathVariable(value="name")
String stageName,
@PathVariable(value="action")
String action,
@PathVariable(value="options")
String options)
throws Exception
Exception@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<net.oneandone.stool.dashboard.StageController.ExceptionExport> handleApiException(Throwable e)
public net.oneandone.sushi.cli.Console console()
public String execute(String stage, String command, String... options) throws IOException
IOExceptionCopyright © 2012–2016 1&1. All rights reserved.