Package com.logicaldoc.core.automation
Class Automation
java.lang.Object
com.logicaldoc.core.automation.Automation
Represents the automation scripting engine
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAutomation
(String logTag) Automation
(String logTag, Locale locale, long tenantId) -
Method Summary
-
Field Details
-
SYSTEM_DICTIONARY
- See Also:
-
CURRENT_DATE
- See Also:
-
PRODUCT
- See Also:
-
LOCALE
- See Also:
-
SERVER_URL
- See Also:
-
TENANT_ID
- See Also:
-
DICTIONARY
- See Also:
-
KEYS
- See Also:
-
CONTEXT
- See Also:
-
PARAMETERS
- See Also:
-
PARAMETERS_NAMES
- See Also:
-
-
Constructor Details
-
Automation
public Automation() -
Automation
-
Automation
-
-
Method Details
-
initialize
public static void initialize() -
evaluate
Evaluate a given expression. The given dictionary will be integrated byprepareDictionary(Map)
:- Parameters:
expression
- The string expression to processclientDictionary
- The dictionary to use- Returns:
- The processed result
-
evaluate
Evaluate a given expression. The given dictionary will be integrated byprepareDictionary(Map)
- Parameters:
clientDictionary
- dictionary to be passed to the enginereader
- the reader on the automation codewriter
- the writer that will receive the output
-