Klasse RuleEngineNashornConverter

java.lang.Object
org.imixs.workflow.RuleEngineNashornConverter

public class RuleEngineNashornConverter extends Object
This is a helper class to convert a deprecated script into the new format. The RuleEngineNashornConverter is called by the RuleEngine.
Version:
1.0
Autor:
Ralph Soika
  • Konstruktordetails

    • RuleEngineNashornConverter

      public RuleEngineNashornConverter()
  • Methodendetails

    • isDeprecatedScript

      public static boolean isDeprecatedScript(String script)
      This method returns true if the script is detected as deprecated. A deprecated script was implemented Initially for the version 3.0 (Nashorn engine).
      Parameter:
      script -
      Gibt zurück:
    • rewrite

      public static String rewrite(String script, ItemCollection workitem, ItemCollection event)
      This method tries to convert a deprecated Nashorn script into a new script dialect.
      Parameter:
      script -
      event -
      documentContext -
      Gibt zurück: