Class SystemSetupContext


  • public class SystemSetupContext
    extends java.lang.Object
    This class represents the context of the current SystemSetup which is used
    • Field Detail

      • FILTERED_PATCHES_FLAG

        public static final java.lang.String FILTERED_PATCHES_FLAG
        See Also:
        Constant Field Values
    • Constructor Detail

      • SystemSetupContext

        @Deprecated
        public SystemSetupContext​(java.util.Map<java.lang.String,​java.lang.String[]> parameterMap,
                                  SystemSetup.Type type,
                                  java.lang.String extensionName)
        Deprecated.
        since ages - Use SystemSetupContext(final Map parameterMap, final Type type, final Process process, final String extensionName) instead
        Parameters:
        parameterMap - normally the HttpServletRequest.getParameterMap(), can be used to set user-defined variables
        type - defines the SystemSetup.Type for the current context
      • SystemSetupContext

        public SystemSetupContext​(java.util.Map<java.lang.String,​java.lang.String[]> parameterMap,
                                  SystemSetup.Type type,
                                  SystemSetup.Process process,
                                  java.lang.String extensionName)
    • Method Detail

      • getExtensionName

        public java.lang.String getExtensionName()
      • getParameterMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getParameterMap()
        Returns:
        parameterMap normally the HttpServletRequest.getParameterMap(), can be used to get user-defined variables
      • setParameterMap

        public void setParameterMap​(java.util.Map<java.lang.String,​java.lang.String[]> parameterMap)
        If the parameterMap has changed, it can be updated here. Normally it is set within the constructor of the class.
      • getParameter

        public java.lang.String getParameter​(java.lang.String key)
        Returns:
        parameter can be used to get user-defined variables
      • getParameters

        public java.lang.String[] getParameters​(java.lang.String key)
        Returns:
        returns an array of strings filled with the parameters of the parameter map
      • isFilteredPatches

        public boolean isFilteredPatches()
      • getPatchHashesToApply

        public java.util.List<java.lang.String> getPatchHashesToApply​(java.lang.String extensionName)
      • setJspContext

        public void setJspContext​(JspContext jspc)
        Use this method to set a user-defined JspContext
      • getJspContext

        public JspContext getJspContext()
        returns the Jsp Context if set, otherwise null