Package org.apache.ivy.plugins.resolver
Class AbstractWorkspaceResolver
- java.lang.Object
-
- org.apache.ivy.plugins.resolver.AbstractResolver
-
- org.apache.ivy.plugins.resolver.AbstractWorkspaceResolver
-
- All Implemented Interfaces:
Validatable,DependencyResolver,HasLatestStrategy
public abstract class AbstractWorkspaceResolver extends AbstractResolver
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkspaceResolver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ResolvedModuleRevisioncheckCandidate(DependencyDescriptor dd, ModuleDescriptor md, java.lang.String workspaceModuleName)protected abstract java.util.List<Artifact>createWorkspaceArtifacts(ModuleDescriptor md)protected WorkspaceModuleDescriptorcreateWorkspaceMd(ModuleDescriptor md)ResolvedResourcefindIvyFileRef(DependencyDescriptor dd, ResolveData data)Finds the module descriptor for the specified DependencyDescriptor.voidpublish(Artifact artifact, java.io.File src, boolean overwrite)voidsetIgnoreBranch(boolean ignoreBranch)voidsetIgnoreVersion(boolean ignoreVersion)-
Methods inherited from class org.apache.ivy.plugins.resolver.AbstractResolver
abortPublishTransaction, beginPublishTransaction, checkInterrupted, checkLatest, commitPublishTransaction, doValidate, download, dumpSettings, exists, findModuleInCache, findModuleInCache, fromSystem, fromSystem, getCacheDownloadOptions, getCacheOptions, getChangingMatcherName, getChangingPattern, getDownloadOptions, getEventManager, getLatest, getLatestStrategy, getName, getNamespace, getParserSettings, getRepositoryCacheManager, getSettings, getSystemNode, getTimeoutConstraint, getTypeName, hidePassword, isAfter, isValidate, listModules, listOrganisations, listRevisions, listTokenValues, listTokenValues, locate, reportFailure, reportFailure, saveModuleRevisionIfNeeded, setCache, setChangingMatcher, setChangingPattern, setCheckmodified, setEventManager, setLatest, setLatestStrategy, setName, setNamespace, setRepositoryCacheManager, setSettings, setTimeoutConstraint, setValidate, toString, toSystem, toSystem, toSystem, toSystem, toSystem, toSystem, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ivy.plugins.resolver.DependencyResolver
download, getDependency
-
-
-
-
Method Detail
-
setIgnoreBranch
public void setIgnoreBranch(boolean ignoreBranch)
-
setIgnoreVersion
public void setIgnoreVersion(boolean ignoreVersion)
-
checkCandidate
protected ResolvedModuleRevision checkCandidate(DependencyDescriptor dd, ModuleDescriptor md, java.lang.String workspaceModuleName)
-
createWorkspaceMd
protected WorkspaceModuleDescriptor createWorkspaceMd(ModuleDescriptor md)
-
createWorkspaceArtifacts
protected abstract java.util.List<Artifact> createWorkspaceArtifacts(ModuleDescriptor md)
-
publish
public void publish(Artifact artifact, java.io.File src, boolean overwrite) throws java.io.IOException
- Throws:
java.io.IOException
-
findIvyFileRef
public ResolvedResource findIvyFileRef(DependencyDescriptor dd, ResolveData data)
Description copied from interface:DependencyResolverFinds the module descriptor for the specified DependencyDescriptor. If this resolver can't find the module descriptor, null is returned.- Parameters:
dd- the dependency descriptordata- the resolve data- Returns:
- the module descriptor, or null
-
-