| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
LocationAwareException.getScriptSource()
Returns the source of the script where this exception occurred.
|
ScriptSource |
SettingsInternal.getSettingsScript() |
| Constructor and Description |
|---|
LocationAwareException(Throwable cause,
Throwable target,
ScriptSource source,
Integer lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
ScriptHandlerInternal |
ScriptHandlerFactory.create(ScriptSource scriptSource,
ClassLoader parentClassLoader) |
ScriptHandlerInternal |
DefaultScriptHandlerFactory.create(ScriptSource scriptSource,
ClassLoader parentClassLoader) |
ScriptHandlerInternal |
ScriptHandlerFactory.create(ScriptSource scriptSource,
ClassLoader parentClassLoader,
DomainObjectContext context) |
ScriptHandlerInternal |
DefaultScriptHandlerFactory.create(ScriptSource scriptSource,
ClassLoader parentClassLoader,
DomainObjectContext context) |
| Constructor and Description |
|---|
AbstractScriptHandler(MutableURLClassLoader classLoader,
RepositoryHandler repositoryHandler,
DependencyHandler dependencyHandler,
ScriptSource scriptSource,
ConfigurationContainer configContainer) |
DefaultScriptHandler(ScriptSource scriptSource,
RepositoryHandler repositoryHandler,
DependencyHandler dependencyHandler,
ConfigurationContainer configContainer,
MutableURLClassLoader classLoader) |
NoClassLoaderUpdateScriptHandler(MutableURLClassLoader classLoader,
RepositoryHandler repositoryHandler,
DependencyHandler dependencyHandler,
ScriptSource scriptSource,
ConfigurationContainer configContainer) |
| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
ProjectInternal.getBuildScriptSource() |
ScriptSource |
AbstractProject.getBuildScriptSource() |
| Constructor and Description |
|---|
AbstractProject(String name,
ProjectInternal parent,
File projectDir,
ScriptSource buildScriptSource,
GradleInternal gradle,
ServiceRegistryFactory serviceRegistryFactory) |
DefaultProject(String name,
ProjectInternal parent,
File projectDir,
ScriptSource buildScriptSource,
GradleInternal gradle,
ServiceRegistryFactory serviceRegistryFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImportsScriptSource |
| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
ScriptPlugin.getSource() |
ScriptSource |
ImportsReader.withImports(ScriptSource source) |
| Modifier and Type | Method and Description |
|---|---|
ScriptPlugin |
ScriptPluginFactory.create(ScriptSource scriptSource) |
ScriptPlugin |
DefaultScriptPluginFactory.create(ScriptSource scriptSource) |
void |
InitScriptProcessor.process(ScriptSource initScript,
GradleInternal gradle) |
void |
DefaultInitScriptProcessor.process(ScriptSource initScript,
GradleInternal gradle) |
ScriptSource |
ImportsReader.withImports(ScriptSource source) |
| Constructor and Description |
|---|
ImportsScriptSource(ScriptSource source,
ImportsReader importsReader) |
| Modifier and Type | Class and Description |
|---|---|
class |
CachingScriptSource |
class |
DelegatingScriptSource |
class |
StringScriptSource |
class |
UriScriptSource
A
ScriptSource which loads the script from a URI. |
| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
ScriptCompilationException.getScriptSource() |
ScriptSource |
Script.getScriptSource() |
ScriptSource |
DelegatingScriptSource.getSource() |
| Modifier and Type | Method and Description |
|---|---|
ScriptCompiler |
ScriptCompilerFactory.createCompiler(ScriptSource source)
Creates a compiler for the given source.
|
ScriptCompiler |
DefaultScriptCompilerFactory.createCompiler(ScriptSource source) |
void |
Script.setScriptSource(ScriptSource source) |
| Constructor and Description |
|---|
CachingScriptSource(ScriptSource source) |
DelegatingScriptSource(ScriptSource source) |
ScriptCompilationException(String message,
Throwable cause,
ScriptSource scriptSource,
Integer lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Script> |
ShortCircuitEmptyScriptCompiler.compile(ScriptSource source,
ClassLoader classLoader,
Transformer transformer,
Class<T> scriptBaseClass) |
<T extends Script> |
ScriptClassCompiler.compile(ScriptSource source,
ClassLoader classLoader,
Transformer transformer,
Class<T> scriptBaseClass) |
<T extends Script> |
FileCacheBackedScriptClassCompiler.compile(ScriptSource source,
ClassLoader classLoader,
Transformer transformer,
Class<T> scriptBaseClass) |
<T extends Script> |
CachingScriptClassCompiler.compile(ScriptSource source,
ClassLoader classLoader,
Transformer transformer,
Class<T> scriptBaseClass) |
void |
ScriptCompilationHandler.compileToDir(ScriptSource source,
ClassLoader classLoader,
File scriptCacheDir,
Transformer transformer,
Class<? extends Script> scriptBaseClass) |
void |
DefaultScriptCompilationHandler.compileToDir(ScriptSource source,
ClassLoader classLoader,
File classesDir,
Transformer transformer,
Class<? extends Script> scriptBaseClass) |
<T extends Script> |
ScriptCompilationHandler.loadFromDir(ScriptSource source,
ClassLoader classLoader,
File scriptCacheDir,
Class<T> scriptBaseClass) |
<T extends Script> |
DefaultScriptCompilationHandler.loadFromDir(ScriptSource source,
ClassLoader classLoader,
File scriptCacheDir,
Class<T> scriptBaseClass) |
| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
BaseSettings.getSettingsScript() |
ScriptSource |
SettingsLocation.getSettingsScriptSource()
Returns the settings script.
|
| Modifier and Type | Method and Description |
|---|---|
SettingsInternal |
SettingsFactory.createSettings(GradleInternal gradle,
File settingsDir,
ScriptSource settingsScript,
Map<String,String> gradleProperties,
StartParameter startParameter,
URLClassLoader classloader) |
void |
BaseSettings.setSettingsScript(ScriptSource settingsScript) |
| Modifier and Type | Method and Description |
|---|---|
void |
UserHomeInitScriptFinder.findScripts(GradleInternal gradle,
Collection<ScriptSource> scripts) |
void |
ProvidedInitScriptFinder.findScripts(GradleInternal gradle,
Collection<ScriptSource> scripts) |
void |
InitScriptFinder.findScripts(GradleInternal gradle,
Collection<ScriptSource> scripts) |
void |
DistributionInitScriptFinder.findScripts(GradleInternal gradle,
Collection<ScriptSource> scripts) |
void |
CompositeInitScriptFinder.findScripts(GradleInternal gradle,
Collection<ScriptSource> scripts) |
protected void |
DirectoryInitScriptFinder.findScriptsInDir(File initScriptsDir,
Collection<ScriptSource> scripts) |
| Constructor and Description |
|---|
BaseSettings(GradleInternal gradle,
IProjectDescriptorRegistry projectDescriptorRegistry,
URLClassLoader classloader,
File settingsDir,
ScriptSource settingsScript,
StartParameter startParameter) |
Copyright © 2013. All rights reserved