Class MonitorScript


  • public class MonitorScript
    extends java.lang.Object
    A MonitorScript object encapsulates a MonitorScript code fragment, containing package, event and monitor definitions to be injected into an Engine.
    • Constructor Summary

      Constructors 
      Constructor Description
      MonitorScript()
      Default constructor - calls the single argument constructor with null.
      MonitorScript​(java.lang.String monitorscript_text)
      Single argument copy-constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()
      Retrieve the text of a MonitorScript fragment as a String.
      java.lang.String toString()
      Retrieve the text of a MonitorScript fragment as a String.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MonitorScript

        public MonitorScript()
        Default constructor - calls the single argument constructor with null.
      • MonitorScript

        public MonitorScript​(java.lang.String monitorscript_text)
        Single argument copy-constructor. Takes a copy of the argument, or if null then assigns an empty String.
    • Method Detail

      • getText

        public java.lang.String getText()
        Retrieve the text of a MonitorScript fragment as a String.
        Returns:
        String containing the text of the MonitorScript fragment.
      • toString

        public java.lang.String toString()
        Retrieve the text of a MonitorScript fragment as a String.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String containing the text of the MonitorScript fragment.