Engine.Variable

Description

Functions to set and get Engine Variable.

Functions

NameSignature and Synopsis
getEngineBooleanArrayVarboolean[] getEngineBooleanArrayVar(String varName)
Gets the engine variable as boolean[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineBooleanVarboolean getEngineBooleanVar(String varName)
Gets the engine variable as boolean of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns false if the variable is not set.
getEngineDateTimeArrayVarDateTime[] getEngineDateTimeArrayVar(String varName)
Gets the engine variable as DateTime[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineDateTimeVarDateTime getEngineDateTimeVar(String varName)
Gets the engine variable as DateTime of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineDoubleArrayVardouble getEngineDoubleArrayVar(String varName)
Gets the engine variable as double[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineDoubleVardouble getEngineDoubleVar(String varName)
Gets the engine variable as double of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns 0.0 if the variable is not set.
getEngineIntArrayVarint[] getEngineIntArrayVar(String varName)
Gets the engine variable as int[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineIntVarint getEngineIntVar(String varName)
Gets the engine variable as int of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns 0 if the variable is not set.
getEngineLongArrayVarlong[] getEngineLongArrayVar(String varName)
Gets the engine variable as long[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineLongVarlong getEngineLongVar(String varName)
Gets the engine variable as long of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns 0L if the variable is not set.
getEngineObjectVarObject getEngineObjectVar(String varName)
Gets the engine variable as Object of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineStringArrayVarString[] getEngineStringArrayVar(String varName)
Gets the engine variable as String[] of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
getEngineStringVarString getEngineStringVar(String varName)
Gets the engine variable as String of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns null if the variable is not set.
removeEngineVarvoid removeEngineVar(String varName)
Removes the engine variable of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineBooleanArrayVarvoid setEngineBooleanArrayVar(String varName, boolean[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineBooleanVarvoid setEngineBooleanVar(String varName, boolean value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineDateTimeArrayVarvoid setEngineDateTimeArrayVar(String varName, DateTime[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineDateTimeVarvoid setEngineDateTimeVar(String varName, DateTime value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineDoubleArrayVarvoid setEngineDoubleArrayVar(String varName, double[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineDoubleVarvoid setEngineDoubleVar(String varName, double value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineIntArrayVarvoid setEngineIntArrayVar(String varName, int[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineIntVarvoid setEngineIntVar(String varName, int value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineLongArrayVarvoid setEngineLongArrayVar(String varName, long[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineLongVarvoid setEngineLongVar(String varName, long value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineObjectVarvoid setEngineObjectVar(String varName, Object value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineStringArrayVarvoid setEngineStringArrayVar(String varName, String[] value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.
setEngineStringVarvoid setEngineStringVar(String varName, String value)
Sets the engine variable of name varName to value. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition.