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:
  • 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
    call(Object... args)
     
    void
     
     

    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
  • Constructor Details

  • Method Details

    • call

      public String call(Object... args)
      Overrides:
      call in class groovy.lang.Closure<Object>
    • clearCache

      public void clearCache()
    • getPathLoader

      public ScriptPathLoader getPathLoader()