@AutoFinal @CompileStatic class GrapeIvy extends Object implements GrapeEngine
Implementation supporting @Grape
and @Grab
annotations based on Ivy.
Type | Name and description |
---|---|
Set<String> |
downloadedArtifacts |
boolean |
enableGrapes |
Set<groovy.grape.IvyGrabRecord> |
grabRecordsForCurrDependencies Stores the IvyGrabRecord(s) for all dependencies in each grab() call. |
org.apache.ivy.Ivy |
ivyInstance |
Map<ClassLoader, Set<groovy.grape.IvyGrabRecord>> |
loadedDeps |
Set<String> |
resolvedDependencies |
org.apache.ivy.core.settings.IvySettings |
settings |
Constructor and description |
---|
GrapeIvy
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addResolver(Map<String, Object> args) |
|
ClassLoader |
chooseClassLoader(Map args) |
|
groovy.grape.IvyGrabRecord |
createGrabRecord(Map dep) |
|
Map<String, Map<String, List<String>>> |
enumerateGrapes() |
|
org.apache.ivy.core.report.ResolveReport |
getDependencies(Map args, groovy.grape.IvyGrabRecord[] grabRecords) |
|
File |
getGrapeCacheDir() |
|
File |
getGrapeDir() |
|
File |
getGroovyRoot() |
|
File |
getLocalGrapeConfig() |
|
Object |
grab(String endorsedModule) |
|
Object |
grab(Map args) |
|
Object |
grab(Map args, Map[] dependencies) |
|
Map[] |
listDependencies(ClassLoader classLoader) |
|
void |
processOtherServices(ClassLoader loader, File f) |
|
void |
processRunners(InputStream is, String name, ClassLoader loader) |
|
void |
processSerializedCategoryMethods(InputStream is) |
|
URI[] |
resolve(Map args, Map[] dependencies) |
|
URI[] |
resolve(Map args, List depsInfo, Map[] dependencies) |
|
URI[] |
resolve(ClassLoader loader, Map args, Map[] dependencies) |
|
URI[] |
resolve(ClassLoader loader, Map args, List depsInfo, Map[] dependencies) |
|
void |
uninstallArtifact(String group, String module, String rev) |
Stores the IvyGrabRecord(s) for all dependencies in each grab() call.
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.