@Controller @RequestMapping(value="/plugin/geneticrepositorymerger") public class GeneticRepositoryMergerController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static DefaultAttributeMetaData |
ALT |
static DefaultAttributeMetaData |
CHROM |
static String |
ID |
static DefaultAttributeMetaData |
POS |
static DefaultAttributeMetaData |
REF |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
GeneticRepositoryMergerController(RepositoryMerger repositoryMerger,
DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
ErrorMessageResponse |
handleRuntimeException(RuntimeException e) |
String |
init(org.springframework.ui.Model model) |
String |
merge(String resultSet,
String[] inputSets) |
getId, getUripublic static final String ID
public static final String URI
public static final DefaultAttributeMetaData CHROM
public static final DefaultAttributeMetaData POS
public static final DefaultAttributeMetaData REF
public static final DefaultAttributeMetaData ALT
@Autowired public GeneticRepositoryMergerController(RepositoryMerger repositoryMerger, DataService dataService)
@RequestMapping(method=GET) public String init(org.springframework.ui.Model model) throws Exception
Exception@RequestMapping(method=POST,
value="mergeRepositories")
@ResponseBody
public String merge(@RequestParam(value="resultDataset")
String resultSet,
@RequestParam(value="datasets")
String[] inputSets)
throws IOException
IOException@ExceptionHandler(value=java.lang.RuntimeException.class) @ResponseBody @ResponseStatus(value=INTERNAL_SERVER_ERROR) public ErrorMessageResponse handleRuntimeException(RuntimeException e)
Copyright © 2015. All Rights Reserved.