@Controller @RequestMapping(value="/configuration") public class ConfigurationController extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationController.UpdatePolicy |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_MAPPING |
Constructor and Description |
---|
ConfigurationController(SyncConfigurationManager syncConfigurationManager,
SyncProcessManager syncProcessManager,
SyncOptimizeManager syncOptimizeManager) |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.View |
add(DirectoryConfigForm directoryConfigForm,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
AdvancedForm |
advancedForm() |
protected org.springframework.web.servlet.View |
createRedirect(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
String include) |
DirectoryConfigForm |
directoryConfigForm() |
DirectoryConfigs |
directoryConfigs() |
DuracloudConfiguration |
duracloudConfiguration() |
DuracloudCredentialsForm |
duracloudCredentials() |
String |
get(org.springframework.ui.Model model) |
String |
getAdd() |
String |
optimize() |
org.springframework.web.servlet.View |
optimize(boolean autoStart,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
PrefixForm |
prefixForm() |
org.springframework.web.servlet.View |
removeDirectory(DirectoryConfigForm directoryConfigForm,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
SyncOptimizeManager |
syncOptimizeManager() |
SyncProcessState |
syncProcessState() |
ThreadCountForm |
threadCountForm() |
org.springframework.web.servlet.View |
updateOptions(AdvancedForm form,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.View |
updatePrefix(PrefixForm form,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.View |
updateThreadCount(ThreadCountForm form,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
public static final String CONFIGURATION_MAPPING
@Autowired public ConfigurationController(SyncConfigurationManager syncConfigurationManager, SyncProcessManager syncProcessManager, SyncOptimizeManager syncOptimizeManager)
@ModelAttribute(value="directoryConfigs") public DirectoryConfigs directoryConfigs()
@ModelAttribute(value="duracloudConfiguration") public DuracloudConfiguration duracloudConfiguration()
@ModelAttribute(value="duracloudCredentialsForm") public DuracloudCredentialsForm duracloudCredentials()
@ModelAttribute(value="syncProcessState") public SyncProcessState syncProcessState()
@ModelAttribute(value="advancedForm") public AdvancedForm advancedForm()
@RequestMapping(value="", method=GET) public String get(org.springframework.ui.Model model)
@RequestMapping(value="/remove", method=POST) public org.springframework.web.servlet.View removeDirectory(DirectoryConfigForm directoryConfigForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/advanced", method=POST) public org.springframework.web.servlet.View updateOptions(AdvancedForm form, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@ModelAttribute(value="threadCountForm") public ThreadCountForm threadCountForm()
@ModelAttribute(value="syncOptimizeManager") public SyncOptimizeManager syncOptimizeManager()
@RequestMapping(value="/thread-count", method=POST) public org.springframework.web.servlet.View updateThreadCount(ThreadCountForm form, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@ModelAttribute(value="directoryConfigForm") public DirectoryConfigForm directoryConfigForm()
@RequestMapping(value="/add", method=GET) public String getAdd()
@RequestMapping(value="/add", method=POST) public org.springframework.web.servlet.View add(DirectoryConfigForm directoryConfigForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@ModelAttribute(value="prefixForm") public PrefixForm prefixForm()
@RequestMapping(value="/prefix", method=POST) public org.springframework.web.servlet.View updatePrefix(PrefixForm form, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/optimize", method=GET) public String optimize()
@RequestMapping(value="/optimize", method=POST) public org.springframework.web.servlet.View optimize(@RequestParam(value="autoStart",defaultValue="false") boolean autoStart, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
protected org.springframework.web.servlet.View createRedirect(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, String include)
Copyright © 2009–2014 DuraSpace. All rights reserved.