Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.groovy.scripts
Class DefaultScriptProcessorFactory

    java.lang.Object
      org.gradle.groovy.scripts.DefaultScriptProcessorFactory

All Implemented Interfaces:
  ScriptProcessorFactory

    public class DefaultScriptProcessorFactory

extends java.lang.Object
implements ScriptProcessorFactory

Constructor Summary
`DefaultScriptProcessorFactory(ScriptCompilationHandler scriptCompilationHandler, CacheUsage cacheUsage)`

Method Summary
`ScriptProcessor` | `createProcessor(ScriptSource source)` Creates a processor for the given source.
`CacheUsage` | `getCacheUsage()`
`ScriptCompilationHandler` | `getScriptCacheHandler()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultScriptProcessorFactory

    public DefaultScriptProcessorFactory(ScriptCompilationHandler scriptCompilationHandler,
                                         CacheUsage cacheUsage)

Method Detail

### createProcessor

    public ScriptProcessor createProcessor(ScriptSource source)

  Description copied from interface: `ScriptProcessorFactory`
  Creates a processor for the given source. The returned processor can be used to compile the script into various different forms.

  Specified by:
    `createProcessor` in interface `ScriptProcessorFactory`
  Parameters:
    `source` - The script source.
  Returns:
    a processor which can be used to process the script.

### getScriptCacheHandler

    public ScriptCompilationHandler getScriptCacheHandler()

### getCacheUsage

    public CacheUsage getCacheUsage()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD