public class LoopbackDependencyResolver extends Object
DependencyResolver to call back into the dependency resolution mechanism.| Constructor and Description |
|---|
LoopbackDependencyResolver(String name,
UserResolverChain userResolverChain,
CacheLockingManager cacheLockingManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortPublishTransaction() |
void |
beginPublishTransaction(org.apache.ivy.core.module.id.ModuleRevisionId module,
boolean overwrite) |
void |
commitPublishTransaction() |
org.apache.ivy.core.report.DownloadReport |
download(org.apache.ivy.core.module.descriptor.Artifact[] artifacts,
org.apache.ivy.core.resolve.DownloadOptions options) |
org.apache.ivy.core.report.ArtifactDownloadReport |
download(org.apache.ivy.core.cache.ArtifactOrigin artifact,
org.apache.ivy.core.resolve.DownloadOptions options) |
void |
dumpSettings() |
boolean |
exists(org.apache.ivy.core.module.descriptor.Artifact artifact) |
org.apache.ivy.plugins.resolver.util.ResolvedResource |
findIvyFileRef(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data) |
org.apache.ivy.core.resolve.ResolvedModuleRevision |
getDependency(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data) |
String |
getName() |
org.apache.ivy.plugins.namespace.Namespace |
getNamespace() |
org.apache.ivy.core.cache.RepositoryCacheManager |
getRepositoryCacheManager() |
org.apache.ivy.plugins.resolver.DependencyResolver |
getResolver() |
org.apache.ivy.plugins.resolver.ResolverSettings |
getSettings() |
org.apache.ivy.core.search.ModuleEntry[] |
listModules(org.apache.ivy.core.search.OrganisationEntry org) |
org.apache.ivy.core.search.OrganisationEntry[] |
listOrganisations() |
org.apache.ivy.core.search.RevisionEntry[] |
listRevisions(org.apache.ivy.core.search.ModuleEntry module) |
Map[] |
listTokenValues(String[] tokens,
Map criteria) |
String[] |
listTokenValues(String token,
Map otherTokenValues) |
org.apache.ivy.core.cache.ArtifactOrigin |
locate(org.apache.ivy.core.module.descriptor.Artifact artifact) |
void |
publish(org.apache.ivy.core.module.descriptor.Artifact artifact,
File src,
boolean overwrite) |
void |
reportFailure() |
void |
reportFailure(org.apache.ivy.core.module.descriptor.Artifact art) |
void |
setName(String name) |
void |
setSettings(org.apache.ivy.plugins.resolver.ResolverSettings settings) |
public LoopbackDependencyResolver(String name, UserResolverChain userResolverChain, CacheLockingManager cacheLockingManager)
public String getName()
getName in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic void setSettings(org.apache.ivy.plugins.resolver.ResolverSettings settings)
setSettings in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.resolve.ResolvedModuleRevision getDependency(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data)
throws ParseException
getDependency in interface org.apache.ivy.plugins.resolver.DependencyResolverParseExceptionpublic org.apache.ivy.core.cache.ArtifactOrigin locate(org.apache.ivy.core.module.descriptor.Artifact artifact)
locate in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.plugins.resolver.DependencyResolver getResolver()
public org.apache.ivy.plugins.resolver.ResolverSettings getSettings()
public org.apache.ivy.plugins.namespace.Namespace getNamespace()
getNamespace in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.cache.RepositoryCacheManager getRepositoryCacheManager()
getRepositoryCacheManager in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.search.ModuleEntry[] listModules(org.apache.ivy.core.search.OrganisationEntry org)
listModules in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.search.OrganisationEntry[] listOrganisations()
listOrganisations in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.search.RevisionEntry[] listRevisions(org.apache.ivy.core.search.ModuleEntry module)
listRevisions in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic String[] listTokenValues(String token, Map otherTokenValues)
listTokenValues in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic Map[] listTokenValues(String[] tokens, Map criteria)
listTokenValues in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.plugins.resolver.util.ResolvedResource findIvyFileRef(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data)
findIvyFileRef in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic boolean exists(org.apache.ivy.core.module.descriptor.Artifact artifact)
exists in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.report.DownloadReport download(org.apache.ivy.core.module.descriptor.Artifact[] artifacts,
org.apache.ivy.core.resolve.DownloadOptions options)
download in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic org.apache.ivy.core.report.ArtifactDownloadReport download(org.apache.ivy.core.cache.ArtifactOrigin artifact,
org.apache.ivy.core.resolve.DownloadOptions options)
download in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic void abortPublishTransaction()
throws IOException
abortPublishTransaction in interface org.apache.ivy.plugins.resolver.DependencyResolverIOExceptionpublic void setName(String name)
setName in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic void publish(org.apache.ivy.core.module.descriptor.Artifact artifact,
File src,
boolean overwrite)
throws IOException
publish in interface org.apache.ivy.plugins.resolver.DependencyResolverIOExceptionpublic void beginPublishTransaction(org.apache.ivy.core.module.id.ModuleRevisionId module,
boolean overwrite)
throws IOException
beginPublishTransaction in interface org.apache.ivy.plugins.resolver.DependencyResolverIOExceptionpublic void commitPublishTransaction()
throws IOException
commitPublishTransaction in interface org.apache.ivy.plugins.resolver.DependencyResolverIOExceptionpublic void reportFailure()
reportFailure in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic void reportFailure(org.apache.ivy.core.module.descriptor.Artifact art)
reportFailure in interface org.apache.ivy.plugins.resolver.DependencyResolverpublic void dumpSettings()
dumpSettings in interface org.apache.ivy.plugins.resolver.DependencyResolverCopyright © 2013. All rights reserved