com.apama.engine
Class MonitorScript

java.lang.Object
  extended by com.apama.engine.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
MonitorScript()
          Default constructor - calls the single argument constructor with null.
MonitorScript(java.lang.String monitorscript_text)
          Single argument copy-constructor.
 
Method Summary
 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.


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG