Class SourceClosure

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure<Object>
com.illumon.iris.db.util.SourceClosure
All Implemented Interfaces:
groovy.lang.GroovyCallable<Object>, groovy.lang.GroovyObject, Serializable, Cloneable, Runnable, Callable<Object>

public class SourceClosure
extends groovy.lang.Closure<Object>
This class represents uses of the source() and sourceOnce() method calls. It will use the underlying scriptPathLoader to get the script text to use.
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class groovy.lang.Closure

    DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
  • Constructor Summary

    Constructors 
    Constructor Description
    SourceClosure​(IrisDbGroovySession groovySession, ScriptPathLoader scriptPathLoader, boolean sourceOnce, boolean caching)  
  • Method Summary

    Modifier and Type Method Description
    String call​(Object... args)  
    void clearCache()  
    ScriptPathLoader getPathLoader()  

    Methods inherited from class groovy.lang.Closure

    andThen, andThenSelf, andThenSelf, asWritable, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline

    Methods inherited from class groovy.lang.GroovyObjectSupport

    getMetaClass, setMetaClass

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface groovy.lang.GroovyObject

    invokeMethod