Class DefaultRuleCompilerProblemFactory
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.compiler.impl.DefaultRuleCompilerProblemFactory
-
- All Implemented Interfaces:
RuleCompilerProblemFactory
public class DefaultRuleCompilerProblemFactory extends java.lang.Object implements RuleCompilerProblemFactory
Default implementation ofRuleCompilerProblemFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleCompilerProblemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleCompilerParameterProblemcreateParameterProblem(RuleCompilerProblem.Severity severity, java.lang.String messageKey, RuleParameterData parameterData, RuleParameterDefinitionData parameterDefinitionData, java.lang.Object... parameters)Creates a new rule compiler parameter problem with localized message with parameters.RuleCompilerProblemcreateProblem(RuleCompilerProblem.Severity severity, java.lang.String messageKey, java.lang.Object... parameters)Creates a new rule compiler problem with localized message with parameters.L10NServicegetL10nService()voidsetL10nService(L10NService l10nService)
-
-
-
Method Detail
-
createProblem
public RuleCompilerProblem createProblem(RuleCompilerProblem.Severity severity, java.lang.String messageKey, java.lang.Object... parameters)
Description copied from interface:RuleCompilerProblemFactoryCreates a new rule compiler problem with localized message with parameters.- Specified by:
createProblemin interfaceRuleCompilerProblemFactorymessageKey- - key for localized message. If not found, key will be displayedparameters- - message arguments- Returns:
- the new compiler problem
-
createParameterProblem
public RuleCompilerParameterProblem createParameterProblem(RuleCompilerProblem.Severity severity, java.lang.String messageKey, RuleParameterData parameterData, RuleParameterDefinitionData parameterDefinitionData, java.lang.Object... parameters)
Description copied from interface:RuleCompilerProblemFactoryCreates a new rule compiler parameter problem with localized message with parameters.- Specified by:
createParameterProblemin interfaceRuleCompilerProblemFactorymessageKey- - key for localized message. If not found, key will be displayedparameters- - message arguments- Returns:
- the new compiler problem
-
getL10nService
public L10NService getL10nService()
-
setL10nService
public void setL10nService(L10NService l10nService)
-
-