@Controller
@RequestMapping(value="/scenarios/{scenario}/reports")
public class ReportController
extends Object
| Constructor and Description |
|---|
ReportController() |
| Modifier and Type | Method and Description |
|---|---|
List<Control> |
listAllReports(String scenario) |
List<Control> |
listReportsByMetric(String scenario,
String metric) |
@ResponseBody
@RequestMapping(value="/{metric}",
method=GET)
public List<Control> listReportsByMetric(@PathVariable
String scenario,
@PathVariable
String metric)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
@ResponseBody @RequestMapping(method=GET) public List<Control> listAllReports(@PathVariable String scenario) throws InstantiationException, IllegalAccessException, ClassNotFoundException
Copyright © 2016. All Rights Reserved.