Class ScriptReport

java.lang.Object
ch.tocco.nice2.scripting.api.groovy.ScriptReport

public class ScriptReport extends Object
Can be accessed through the current ScriptExecutionContext and be used to store information about the script run.
  • Constructor Details

    • ScriptReport

      public ScriptReport()
  • Method Details

    • addLogMessage

      public void addLogMessage(TextMessage textMessage)
    • addRuntimeError

      public void addRuntimeError(TextMessage textMessage)
    • addCompileError

      public void addCompileError(TextMessage textMessage)
    • getLogMessages

      public List<TextMessage> getLogMessages()
    • getRuntimeErrors

      public List<TextMessage> getRuntimeErrors()
    • getCompileErrors

      public List<TextMessage> getCompileErrors()