scriptella.driver.janino
Class JaninoScript

java.lang.Object
  extended by scriptella.driver.janino.JaninoScript
Direct Known Subclasses:
JaninoQuery

public abstract class JaninoScript
extends java.lang.Object

A base class for Janino <script> elements.

Public members of this class are available in Janino scripting elements.

Version:
1.0
Author:
Fyodor Kupolov

Constructor Summary
JaninoScript()
           
 
Method Summary
protected abstract  void execute()
          This method in not a part of the public API.
 java.lang.Object get(java.lang.String name)
          Obtains a parameter value for specified name.
protected  scriptella.spi.ParametersCallback getParametersCallback()
          This method in not a part of the public API.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaninoScript

public JaninoScript()
Method Detail

getParametersCallback

protected final scriptella.spi.ParametersCallback getParametersCallback()
This method in not a part of the public API.


execute

protected abstract void execute()
                         throws java.lang.Exception
This method in not a part of the public API.

Throws:
java.lang.Exception

get

public final java.lang.Object get(java.lang.String name)
Obtains a parameter value for specified name.

This method is available inside Janino <script> element.

Parameters:
name - parameter name
Returns:
parameter value.


Copyright © Copyright 2006-2009 The Scriptella Project Team.