Class SperfConfigController
java.lang.Object
org.xbricks.sperftest.controllers.SperfConfigController
Created by Juraj Horak
-
Constructor Summary
ConstructorsConstructorDescriptionSperfConfigController(FiguresDescriptionService figuresDescriptionService, SperfConfigService sperfConfigService, XBConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionEditConfig(org.springframework.ui.Model model) editConfigColumns(org.springframework.ui.Model model) EditUserConfig(String username) selectConfig(String selectedConfigName) ShowConfig(org.springframework.ui.Model model) ShowUserConfig(String username) storeConfig(SperfConfigCommand sperfConfigCommand) StoreUserConfig(String username)
-
Constructor Details
-
SperfConfigController
public SperfConfigController(FiguresDescriptionService figuresDescriptionService, SperfConfigService sperfConfigService, XBConfigurationService configurationService)
-
-
Method Details
-
EditConfig
- Returns:
- Template Name responsible for the action or redirection to somewhere
-
editConfigColumns
@RequestMapping("/parser/confcols") public String editConfigColumns(org.springframework.ui.Model model) -
ShowConfig
- Returns:
- Template Name responsible for the action or redirection to somewhere
-
storeConfig
@PostMapping @RequestMapping("/parser/storeconf") public String storeConfig(@ModelAttribute SperfConfigCommand sperfConfigCommand) -
selectConfig
-
EditUserConfig
@RequestMapping("/parser/{username}/confedit") public String EditUserConfig(@PathVariable String username) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
ShowUserConfig
@RequestMapping("/parser/{username}/viewconf") public String ShowUserConfig(@PathVariable String username) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
StoreUserConfig
@PostMapping @RequestMapping("/parser/{username}/storeconf") public String StoreUserConfig(@PathVariable String username) - Returns:
- Template Name responsible for the action or redirection to somewhere
-