public class ExtensionEnabled extends RuleFunction
Constructor and Description |
---|
ExtensionEnabled() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(RuleEvaluationContext ruleContext,
java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
Returns false if the extension cannot be found (is not loaded), returns
true otherwise.
|
getRequiredParameterOrThrow, matchesNameOfClassOrAncestor
public boolean evaluate(RuleEvaluationContext ruleContext, java.util.Map<java.lang.String,RuleFunctionParameter> parameters) throws RuleEvaluationException
evaluate
in class RuleFunction
RuleEvaluationException