Class SystemSetupContext

java.lang.Object
de.hybris.platform.core.initialization.SystemSetupContext

public class SystemSetupContext extends Object
This class represents the context of the current SystemSetup which is used
  • Field Details

  • Constructor Details

    • SystemSetupContext

      @Deprecated(since="ages", forRemoval=true) public SystemSetupContext(Map<String,String[]> parameterMap, SystemSetup.Type type, String extensionName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - Use SystemSetupContext(final Map<String, String[]> 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(Map<String,String[]> parameterMap, SystemSetup.Type type, SystemSetup.Process process, String extensionName)
  • Method Details

    • getExtensionName

      public String getExtensionName()
    • getParameterMap

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

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

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

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

      public boolean isFilteredPatches()
    • getPatchHashesToApply

      public List<String> getPatchHashesToApply(String extensionName)
    • getType

      public SystemSetup.Type getType()
      Returns:
      returns the current used SystemSetup.Type
    • getProcess

      public SystemSetup.Process getProcess()
      Returns:
      returns the current used SystemSetup.Process
    • 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