Class SystemSetupContext
java.lang.Object
de.hybris.platform.core.initialization.SystemSetupContext
This class represents the context of the current SystemSetup which is used
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSystemSetupContext(Map<String, String[]> parameterMap, SystemSetup.Type type, SystemSetup.Process process, String extensionName) 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 -
Method Summary
Modifier and TypeMethodDescriptionreturns the Jsp Context if set, otherwise nullgetParameter(String key) String[]getParameters(String key) getPatchHashesToApply(String extensionName) getType()booleanvoidsetJspContext(JspContext jspc) Use this method to set a user-defined JspContextvoidsetParameterMap(Map<String, String[]> parameterMap) If the parameterMap has changed, it can be updated here.
-
Field Details
-
FILTERED_PATCHES_FLAG
- See Also:
-
-
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 variablestype- defines theSystemSetup.Typefor the current context
-
SystemSetupContext
public SystemSetupContext(Map<String, String[]> parameterMap, SystemSetup.Type type, SystemSetup.Process process, String extensionName)
-
-
Method Details
-
getExtensionName
-
getParameterMap
- Returns:
- parameterMap normally the HttpServletRequest.getParameterMap(), can be used to get user-defined variables
-
setParameterMap
If the parameterMap has changed, it can be updated here. Normally it is set within the constructor of the class. -
getParameter
- Returns:
- parameter can be used to get user-defined variables
-
getParameters
- Returns:
- returns an array of strings filled with the parameters of the parameter map
-
isFilteredPatches
public boolean isFilteredPatches() -
getPatchHashesToApply
-
getType
- Returns:
- returns the current used
SystemSetup.Type
-
getProcess
- Returns:
- returns the current used
SystemSetup.Process
-
setJspContext
Use this method to set a user-defined JspContext -
getJspContext
returns the Jsp Context if set, otherwise null
-