org.cert.cc.jira.atc.config
Class ScriptElement

java.lang.Object
  extended by org.cert.cc.jira.atc.config.ScriptElement

public class ScriptElement
extends Object

When configuration contains a JSR-223 script that evaluates to true or false. If the script evaluation and the value of the eval attribute are equal the Issue is created, otherwise it is not.

© 2011 Carnegie Mellon University

Author:
Aaron Reffett

Constructor Summary
ScriptElement()
          Default constructor
ScriptElement(String script)
          Construct a script element with the given script text
 
Method Summary
 String getScript()
          Returns the raw text of the script that will be compiled and run by the JSR-223 engine
 void setScript(String script)
          Sets the script that will be compiled and run by the JSR-223 engine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptElement

public ScriptElement()
Default constructor


ScriptElement

public ScriptElement(String script)
Construct a script element with the given script text

Parameters:
script -
Method Detail

getScript

public String getScript()
Returns the raw text of the script that will be compiled and run by the JSR-223 engine

Returns:

setScript

public void setScript(String script)
Sets the script that will be compiled and run by the JSR-223 engine

Parameters:
script -


Copyright © 2012 Carnegie Mellon University