Class ConfigurationController


  • @Controller
    @RequestMapping("/configuration")
    public class ConfigurationController
    extends Object
    A spring controller for configuration related functions.
    Author:
    Daniel Bernstein
    • Method Detail

      • directoryConfigs

        @ModelAttribute("directoryConfigs")
        public DirectoryConfigs directoryConfigs()
      • duracloudConfiguration

        @ModelAttribute("duracloudConfiguration")
        public DuracloudConfiguration duracloudConfiguration()
      • duracloudCredentials

        @ModelAttribute("duracloudCredentialsForm")
        public DuracloudCredentialsForm duracloudCredentials()
      • maxFileSizeForm

        @ModelAttribute("maxFileSizeForm")
        public MaxFileSizeForm maxFileSizeForm()
      • modeForm

        @ModelAttribute("modeForm")
        public ModeForm modeForm()
      • syncProcessState

        @ModelAttribute("syncProcessState")
        public SyncProcessState syncProcessState()
      • advancedForm

        @ModelAttribute("advancedForm")
        public AdvancedForm advancedForm()
      • get

        @RequestMapping(value="",
                        method=GET)
        public String get​(org.springframework.ui.Model model)
      • removeDirectory

        @RequestMapping(value="/remove",
                        method=POST)
        public org.springframework.web.servlet.View removeDirectory​(DirectoryConfigForm directoryConfigForm,
                                                                    org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • updateOptions

        @RequestMapping(value="/advanced",
                        method=POST)
        public org.springframework.web.servlet.View updateOptions​(AdvancedForm form,
                                                                  org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • updateMode

        @RequestMapping(value="/mode",
                        method=POST)
        public org.springframework.web.servlet.View updateMode​(ModeForm form,
                                                               org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • updateMaxFileSize

        @RequestMapping(value="/max-file-size",
                        method=POST)
        public org.springframework.web.servlet.View updateMaxFileSize​(MaxFileSizeForm form,
                                                                      org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • threadCountForm

        @ModelAttribute("threadCountForm")
        public ThreadCountForm threadCountForm()
      • syncOptimizeManager

        @ModelAttribute("syncOptimizeManager")
        public SyncOptimizeManager syncOptimizeManager()
      • updateThreadCount

        @RequestMapping(value="/thread-count",
                        method=POST)
        public org.springframework.web.servlet.View updateThreadCount​(ThreadCountForm form,
                                                                      org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • directoryConfigForm

        @ModelAttribute("directoryConfigForm")
        public DirectoryConfigForm directoryConfigForm()
      • getAdd

        @RequestMapping(value="/add",
                        method=GET)
        public String getAdd()
      • add

        @RequestMapping(value="/add",
                        method=POST)
        public org.springframework.web.servlet.View add​(DirectoryConfigForm directoryConfigForm,
                                                        org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • prefixForm

        @ModelAttribute("prefixForm")
        public PrefixForm prefixForm()
      • updatePrefix

        @RequestMapping(value="/prefix",
                        method=POST)
        public org.springframework.web.servlet.View updatePrefix​(PrefixForm form,
                                                                 org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • optimize

        @RequestMapping(value="/optimize",
                        method=GET)
        public String optimize()
      • 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)
      • createRedirect

        protected org.springframework.web.servlet.View createRedirect​(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
                                                                      String include)