A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- allMatch(Collection<String>, Object, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to determine if the object matches all rules provided.
- allMatch(Collection<String>, Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to determine if the object matches all rules provided.
- AND - com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
- anyMatch(Collection<String>, Object, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to determine if the object matches any rule provided.
- anyMatch(Collection<String>, Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to determine if the object matches any rule provided.
- autoGrowCollections - Variable in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- autoGrowNullReferences - Variable in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser whether to automatically initialize (grow) null references.
B
- buildEvaluationContext(Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
C
- CachingStdEvaluationContextFactory - Class in com.broadleafcommerce.rulesengine.expression.context.factory
-
Default implementation of
EvaluationContextFactory
that caches theEvaluationContext
s it creates. - CachingStdEvaluationContextFactory(List<PropertyAccessor>, Map<String, Object>, Supplier<StandardEvaluationContext>) - Constructor for class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
- canEqual(Object) - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- canEqual(Object) - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- canRead(EvaluationContext, Object, String) - Method in class com.broadleafcommerce.rulesengine.expression.context.accessor.MapAccessor
- capitalize(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe convert to title case
- chomp(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Removes one newline from end of the string if present
- chop(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Remove the last character from a string
- CollectionExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Deprecated.Use
CollectionsExpressionVariable
. Note that the inputs have been reversed for methods with more than one. - CollectionExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.
- CollectionsExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common, null-safe, collection operations
- CollectionsExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
- com.broadleafcommerce.rulesengine.autoconfigure - package com.broadleafcommerce.rulesengine.autoconfigure
- com.broadleafcommerce.rulesengine.expression.context - package com.broadleafcommerce.rulesengine.expression.context
- com.broadleafcommerce.rulesengine.expression.context.accessor - package com.broadleafcommerce.rulesengine.expression.context.accessor
- com.broadleafcommerce.rulesengine.expression.context.factory - package com.broadleafcommerce.rulesengine.expression.context.factory
- com.broadleafcommerce.rulesengine.expression.service - package com.broadleafcommerce.rulesengine.expression.service
- com.broadleafcommerce.rulesengine.expression.type - package com.broadleafcommerce.rulesengine.expression.type
- com.broadleafcommerce.rulesengine.expression.util - package com.broadleafcommerce.rulesengine.expression.util
- compare(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string compare.
- compareIgnoreCase(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string compare.
- compareIgnoreCaseNullIsMore(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string compare.
- compareNullIsMore(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string compare.
- compilerMode - Variable in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines the mode for the `SpelCompiler`.
- contains(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string contains the substring
- contains(Collection<T>, T) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.
- contains(T, Collection<T>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
- containsAll(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the first collection contains all of the elements from the second.
- containsAll(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the second collection contains all of the elements from the first.
- containsAny(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the first collection contains any elements from the second.
- containsAny(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the second collection contains any elements from the first.
- containsIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string contains the substring.
- containsNone(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the first collections contains none of the elements form the second.
- containsNone(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the second collections contains none of the elements form the first.
- containsWhitespace(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string contains whitespace.
- CONTEXT_CACHE - Static variable in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
D
- DateExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common operations for dates comparison
- DateExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
- DecimalExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common, null-safe, decimal operations.
- DecimalExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
- DefaultConnectiveOperatorType - Enum in com.broadleafcommerce.rulesengine.expression.type
-
Defines the default set of values possible for operators with which to join different expressions together such as "and", "or".
- defaultExpressionVariables - Variable in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
- defaultExpressionVariables() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- defaultPropertyAccessors - Variable in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
- defaultPropertyAccessors() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- deleteWhitespace(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Deletes all whitespaces from a String as defined by
Character.isWhitespace(char)
.
E
- EMPTY_EXPRESSION_CONTEXT - Static variable in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- endsWith(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the text ends with the prefix.
- endsWithIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the text ends with the prefix.
- equals(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string equals.
- equals(Object) - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- equals(Object) - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- equals(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Performs a deep equals on the 2 collections.
- equals(Collection<?>, Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Performs a deep equals on the 2 collections.
- equals(Locale, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.LocaleExpressionVariable
-
Checks if locales are equal.
- equalsIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string equals.
- evaluateRule(String, Object, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Uses the configured expression parser to evaluate the rule against the root object.
- evaluateRule(String, Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Uses the configured expression parser to evaluate the rule against the root object.
- evaluationContextFactory - Variable in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- evaluationContextFactory(List<PropertyAccessor>) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- EvaluationContextFactory - Interface in com.broadleafcommerce.rulesengine.expression.context.factory
-
Factory for retrieving
EvaluationContext
s for theRuleEvaluationService
. - evaluationContextSupplier - Variable in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
- evaluationContextSupplier() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- EXPRESSION_CACHE - Static variable in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- ExpressionContext - Interface in com.broadleafcommerce.rulesengine.expression.context
-
Intended to hold relevant information required to evaluate an expression or group of expressions.
- ExpressionVariable - Interface in com.broadleafcommerce.rulesengine.expression.util
-
Implementations of this class are to be used as expression variables such as in SpEL expression.
F
- findAll(Collection<String>, Collection<T>, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to find all objects matching the rules provided.
- findAll(Collection<String>, Collection<T>, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to find all objects matching the rules provided.
- findAny(Collection<String>, Collection<T>, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to find an object that matches the rules.
- findAny(Collection<String>, Collection<T>, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to find an object that matches the rules.
- findAnyN(Collection<String>, Collection<T>, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to find a subset of all objects matching the rules provided.
- findAnyN(Collection<String>, Collection<T>, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- findFirst(Collection<String>, Collection<T>, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to find the first object that matches the rules.
- findFirst(Collection<String>, Collection<T>, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to find the first object that matches the rules.
- findFirstN(Collection<String>, Collection<T>, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to find a subset of all objects matching the rules provided.
- findFirstN(Collection<String>, Collection<T>, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- fromMap(Map<String, Object>) - Method in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
-
Resolves a monetary amount from an object map.
G
- getCompilerMode() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines the mode for the `SpelCompiler`.
- getEvaluationContext(Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.context.factory.CachingStdEvaluationContextFactory
-
Gets an
EvaluationContext
. - getEvaluationContext(Object, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.context.factory.EvaluationContextFactory
-
Gets an
EvaluationContext
. - getExpressionFromCache(String, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- getLimit() - Method in interface com.broadleafcommerce.rulesengine.expression.context.ExpressionContext
-
'Limit' is intended to be used to limit the number of results to return when matching a group of rules against a group of objects.
- getLimit() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- getMaximumAutoGrowSize() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser the maximum size to which a collection can automatically grow.
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
- getName() - Method in interface com.broadleafcommerce.rulesengine.expression.util.ExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.LocaleExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.ObjectExpressionVariable
- getName() - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
- getParserContext() - Method in interface com.broadleafcommerce.rulesengine.expression.context.SpelExpressionContext
-
Intended to provide a
ParserContext
to a SpEL expression. - getParserContext() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- getParserContext(ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- getVariables() - Method in interface com.broadleafcommerce.rulesengine.expression.context.ExpressionContext
-
'Variables' is intended to be used to store named variables that are to be injected into an expression or group of expressions, replacing
#variableName
references. - getVariables() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
H
- hashCode() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- hashCode() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
I
- indexOf(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns the index of the given substring with the string starting at the given position.
- indexOfIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns the index of the given substring with the string starting at the given position.
- isAfter(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is after the specified date.
- isAfter(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is after the specified date.
- isAfterOrEqual(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is after the specified date or is equals to it.
- isAfterOrEqual(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is after the specified date or is equals to it.
- isAutoGrowCollections() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- isAutoGrowNullReferences() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser whether to automatically initialize (grow) null references.
- isBefore(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is before the specified date.
- isBefore(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is before the specified date.
- isBeforeOrEqual(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is before the specified date or is equals to it.
- isBeforeOrEqual(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if the date is before the specified date or is equals to it.
- isBlank(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string is null, empty (""), or blank (" ")
- isEmpty(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string is null or empty ("")
- isEmpty(Object) - Method in class com.broadleafcommerce.rulesengine.expression.util.ObjectExpressionVariable
-
A given object is defined as 'empty' if the following is true: The object is
null
The object is a Collection or array and the collection or array is empty (no items) The object is a String and the string is empty (no characters) - isEmpty(Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the collection is empty or null.
- isEmpty(Collection<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the collection is empty or null.
- isEqual(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if dates are equal.
- isEqual(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if dates are equal.
- isMatchAnyRule() - Method in interface com.broadleafcommerce.rulesengine.expression.context.ExpressionContext
-
'Match any' is intended to be used to determine whether all of a group of rules must match against an object or just 1.
- isMatchAnyRule() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- isNotBlank(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string is not null, empty(""),or blank (" ")
- isNotEmpty(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the string is not null or empty ("")
- isNotEmpty(Object) - Method in class com.broadleafcommerce.rulesengine.expression.util.ObjectExpressionVariable
-
The opposite of
ObjectExpressionVariable.isEmpty(Object)
- isNotEqual(Instant, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if dates are not equal.
- isNotEqual(LocalDateTime, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
-
Checks if dates are not equal.
J
- join(T...) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Joins the elements of the provided array into a single String containing the provided of elements
- joinWith(String, Iterable<?>) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Joins the elements of the provided iterable into a single String containing the provided of elements, placing the given separator between elements
- joinWith(String, T...) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Joins the elements of the provided array into a single String containing the provided of elements, placing the given separator between elements
L
- lastIndexOf(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns the index of the last occurrence of the given substring.
- lastIndexOfIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns the index of the last occurrence of the given substring.
- leftMost(String, int) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Gets a substring from the left-most characters.
- length(CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe get string length
- LocaleExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common operations for locale comparison
- LocaleExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.LocaleExpressionVariable
M
- MapAccessor - Class in com.broadleafcommerce.rulesengine.expression.context.accessor
-
Extension of Spring's MapAccessor to not throw an exception if a map doesn't contain a key.
- MapAccessor() - Constructor for class com.broadleafcommerce.rulesengine.expression.context.accessor.MapAccessor
- maxDoubleValue() - Method in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
-
Returns the max double value.
- maximumAutoGrowSize - Variable in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser the maximum size to which a collection can automatically grow.
- minDoubleValue() - Method in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
-
Returns the min double value.
- MoneyExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common, null-safe, operations for the
MonetaryAmount
fields. - MoneyExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
N
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.LocaleExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.ObjectExpressionVariable
- NAME - Static variable in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
- noneMatch(Collection<String>, Object, ExpressionContext) - Method in interface com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService
-
Use to determine if the object matches no provided rule.
- noneMatch(Collection<String>, Object, ExpressionContext) - Method in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
-
Use to determine if the object matches no provided rule.
- notContains(Collection<T>, Collection<T>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the collection defined by
value
is not contained by the collection. - notContains(Collection<T>, Collection<T>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the collection defined by
value
is not contained by the collection. - notContains(Collection<T>, T) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the value is not contained by the collection.
- notContains(Collection<T>, T[]) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionExpressionVariable
-
Deprecated.Whether the array defined by
value
is not contained by the collection. - notContains(T[], Collection<T>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the array defined by
value
is not contained by the collection. - notContains(T, Collection<T>) - Method in class com.broadleafcommerce.rulesengine.expression.util.CollectionsExpressionVariable
-
Whether the value is not contained by the collection.
- notEquals(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Return true if strings are not equal, else false.
- notEquals(Locale, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.LocaleExpressionVariable
-
Checks if locales are not equal.
- notEqualsIgnoreCase(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Return true if strings are not equal, ignoring case, else false
O
- ObjectExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
General object utilities
- ObjectExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.ObjectExpressionVariable
- OR - com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
P
- parserProperties - Variable in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- parseUtcDateToInstant(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
- parseUtcDateToLocalDateTime(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.DateExpressionVariable
R
- read(EvaluationContext, Object, String) - Method in class com.broadleafcommerce.rulesengine.expression.context.accessor.MapAccessor
- remove(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Removes all occurrences of a substring from within the source string.
- removeIgnoreCase(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Removes all occurrences of a substring from within the source string.
- replace(String, String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Replaces each substring of the text String that matches the given regular expression with the given replacement up to
timesToReplace
. - replaceAll(String, String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Replaces each substring of the text String that matches the given regular expression with the given replacement.
- replaceIgnoreCase(String, String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Replaces each substring of the text String that matches the given regular expression with the given replacement up to
timesToReplace
. - reverse(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe string reverse
- rightMost(String, int) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Gets a substring from the right-most characters.
- RuleBuilderParserProperties - Class in com.broadleafcommerce.rulesengine.autoconfigure
-
External configuration properties for Rule Builder's expression parser.
- RuleBuilderParserProperties() - Constructor for class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
- RuleEvaluationService - Interface in com.broadleafcommerce.rulesengine.expression.service
-
Intended to provide a means to evaluate rule builder expressions written in some expression language.
- RulesEngineAutoConfiguration - Class in com.broadleafcommerce.rulesengine.autoconfigure
-
Auto configuration entry point for the rules engine library
- RulesEngineAutoConfiguration(RuleBuilderParserProperties) - Constructor for class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
S
- setAutoGrowCollections(boolean) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- setAutoGrowNullReferences(boolean) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser whether to automatically initialize (grow) null references.
- setCompilerMode(SpelCompilerMode) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Determines the mode for the `SpelCompiler`.
- setMaximumAutoGrowSize(int) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
-
Tells the parser the maximum size to which a collection can automatically grow.
- SpelExpressionContext - Interface in com.broadleafcommerce.rulesengine.expression.context
-
Adds additional context for SpEL expressions.
- spelParser - Variable in class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- spelParser() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- spelParserConfiguration() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- spelRuleEvaluationService(List<PropertyAccessor>) - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
- SpelRuleEvaluationService - Class in com.broadleafcommerce.rulesengine.expression.service
-
Default implementation of
RuleEvaluationService
that takes the configuredExpressionParser
to parse SpELExpression
s with caching for expressions andEvaluationContexts
. - SpelRuleEvaluationService(ExpressionParser, EvaluationContextFactory) - Constructor for class com.broadleafcommerce.rulesengine.expression.service.SpelRuleEvaluationService
- split(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Splits the provided string into an array by the separator string specified.
- splitToList(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Splits the provided string into a list instead of an array.
- StandardExpressionContext - Class in com.broadleafcommerce.rulesengine.expression.context
-
Standard implementation of
ExpressionContext
for use when evaluating expressions. - StandardExpressionContext() - Constructor for class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- StandardExpressionContext(boolean, int, Map<String, Object>) - Constructor for class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- StandardSpelExpressionContext - Class in com.broadleafcommerce.rulesengine.expression.context
-
Standard implementation of
SpelExpressionContext
for use when evaluating SpEL expressions. - StandardSpelExpressionContext() - Constructor for class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- StandardSpelExpressionContext(boolean, int, Map<String, Object>, ParserContext) - Constructor for class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- StandardSpelExpressionContext(ParserContext) - Constructor for class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- startsWith(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the text starts with the prefix
- startsWithIgnoreCase(CharSequence, CharSequence) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Whether the text starts with the prefix.
- StringExpressionVariable - Class in com.broadleafcommerce.rulesengine.expression.util
-
Common, null-safe, string operations
- StringExpressionVariable() - Constructor for class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
- StringExpressionVariable(Locale) - Constructor for class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
- strip(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Strips whitespace from the start and end of a String.
- stripChars(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Strips the specified characters from the beginning and end of the string.
- stripToEmpty(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns an empty string ("") if the string is null or empty after stripping
- stripToNull(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns null if the stripped string is empty.
- substring(String, int, int) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Gets a substring defined by start and end indices from the specified string safely.
T
- toDouble(BigDecimal) - Method in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
-
Returns the double value of the
BigDecimal
field. - toDouble(BigDecimal, double) - Method in class com.broadleafcommerce.rulesengine.expression.util.DecimalExpressionVariable
-
Returns the double value of the
BigDecimal
field. - toDouble(Map<String, Object>) - Method in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
-
Converts the object map into a monetary amount and returns the double value of that amount.
- toDouble(MonetaryAmount) - Method in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
-
Returns the double value of the
MonetaryAmount
field. - toDouble(MonetaryAmount, double) - Method in class com.broadleafcommerce.rulesengine.expression.util.MoneyExpressionVariable
-
Returns the double value of the
MonetaryAmount
field. - toLower(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe convert to lowercase
- toString() - Method in class com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
- toString() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
- toString() - Method in class com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- toString() - Method in enum com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
- toString(Object) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Converts the target to a string.
- toUpper(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Null-safe convert to uppercase
- trim(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Removes control characters (char <= 32) from both ends of this String, handling
null
by returningnull
. - trimToEmpty(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns an empty string ("") if the string is null or empty after trimming.
- trimToNull(String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Returns null if the string is empty after trimming
- truncate(String, int, int) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Creates a substring using the specified left-offset and max width.
- type() - Method in enum com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
-
Primary accessor for
DefaultConnectiveOperatorType.type
.
U
- unwrap(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Unwraps a given string from anther string.
V
- valueOf(String) - Static method in enum com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.broadleafcommerce.rulesengine.expression.type.DefaultConnectiveOperatorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wrap(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Wraps a string with a string.
- wrapIfMissing(String, String) - Method in class com.broadleafcommerce.rulesengine.expression.util.StringExpressionVariable
-
Wraps a string with a string if not already present.
All Classes All Packages