org.jenkinsci.plugins.scriptler.util
Class GroovyScript

java.lang.Object
  extended by org.jenkinsci.plugins.scriptler.util.GroovyScript
All Implemented Interfaces:
hudson.remoting.Callable<String,RuntimeException>, hudson.remoting.DelegatingCallable<String,RuntimeException>, Serializable

public final class GroovyScript
extends Object
implements hudson.remoting.DelegatingCallable<String,RuntimeException>

Inspired by hudson.util.RemotingDiagnostics.Script, but adding parameters.

See Also:
Serialized Form

Constructor Summary
GroovyScript(String script, Parameter[] parameters, boolean failWithException)
           
 
Method Summary
 String call()
           
 ClassLoader getClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyScript

public GroovyScript(String script,
                    Parameter[] parameters,
                    boolean failWithException)
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface hudson.remoting.DelegatingCallable<String,RuntimeException>

call

public String call()
            throws RuntimeException
Specified by:
call in interface hudson.remoting.Callable<String,RuntimeException>
Throws:
RuntimeException


Copyright © 2010-2012. All Rights Reserved.