@Controller @RequestMapping(value="/app/rest") public class CucumberResource extends Object
| Constructor and Description |
|---|
CucumberResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
checkSessionId(javax.servlet.http.HttpServletRequest request) |
CucumberProjectContext |
getCucumberProjectContext() |
List<minium.cucumber.config.CucumberProperties.SnippetProperties> |
getSnippets() |
List<StepDefinitionDTO> |
getStepDefinitions() |
String |
isRunning() |
FeatureResult |
launch(LaunchInfo launchInfo,
String key) |
FileWithOffsetsDTO |
previewWithExternalData(LaunchInfo launchInfo) |
org.springframework.http.ResponseEntity<String> |
stop() |
@RequestMapping(value="/launch",
method=POST)
@ResponseBody
public FeatureResult launch(@RequestBody
LaunchInfo launchInfo,
@RequestHeader(value="key")
String key)
throws Exception
Exception@RequestMapping(value="/snippets",
method=GET)
@ResponseBody
public List<minium.cucumber.config.CucumberProperties.SnippetProperties> getSnippets()
throws IOException
IOException@RequestMapping(value="/stepDefinitions",
method=GET)
@ResponseBody
public List<StepDefinitionDTO> getStepDefinitions()
throws IOException
IOException@RequestMapping(value="/stop",
method=POST,
produces="text/plain; charset=utf-8")
public org.springframework.http.ResponseEntity<String> stop()
throws IOException,
SecurityException,
IllegalArgumentException,
NoSuchFieldException,
IllegalAccessException
@RequestMapping(value="/isRunning",
method=GET,
produces="text/plain; charset=utf-8")
@ResponseBody
public String isRunning()
throws IOException,
SecurityException,
IllegalArgumentException,
NoSuchFieldException,
IllegalAccessException
@RequestMapping(value="/sessionId",
method=GET,
produces="text/plain; charset=utf-8")
@ResponseBody
public String checkSessionId(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/preview",
method=POST)
@ResponseBody
public FileWithOffsetsDTO previewWithExternalData(@RequestBody
LaunchInfo launchInfo)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic CucumberProjectContext getCucumberProjectContext()
Copyright © 2021 VILT Group. All rights reserved.