Class ScriptInfo

java.lang.Object
org.flowable.cmmn.model.BaseElement
org.flowable.cmmn.model.ScriptInfo
All Implemented Interfaces:
HasExtensionAttributes

public class ScriptInfo extends BaseElement
Contains relevant information for script evaluation.
Author:
Arthur Hupka-Merle
  • Field Details

    • language

      protected String language
    • resultVariable

      protected String resultVariable
    • script

      protected String script
  • Constructor Details

    • ScriptInfo

      public ScriptInfo()
  • Method Details

    • getLanguage

      public String getLanguage()
      The script language
    • setLanguage

      public void setLanguage(String language)
      The script language
    • getResultVariable

      public String getResultVariable()
      The name of the result variable where the script return value is written to.
    • setResultVariable

      public void setResultVariable(String resultVariable)
      See Also:
    • getScript

      public String getScript()
      The actual script payload in the provided language.
    • setScript

      public void setScript(String script)
      Set the script payload in the provided language.
    • clone

      public ScriptInfo clone()
      Overrides:
      clone in class Object