Uses of Interface
org.apache.ivy.core.module.descriptor.ModuleDescriptor
-
-
Uses of ModuleDescriptor in org.apache.ivy
Methods in org.apache.ivy that return types with arguments of type ModuleDescriptor Modifier and Type Method Description java.util.List<ModuleDescriptor>
Ivy. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors, SortOptions options)
Sorts the given ModuleDescriptors from the less dependent to the more dependent.java.util.List<ModuleDescriptor>
Ivy14. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors)
Methods in org.apache.ivy with parameters of type ModuleDescriptor Modifier and Type Method Description IvyNode[]
Ivy14. getDependencies(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, ResolveReport report, boolean validate)
IvyNode[]
Ivy14. getDependencies(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, ResolveReport report, boolean validate, boolean transitive)
private static void
Main. invoke(Ivy ivy, java.io.File cache, ModuleDescriptor md, java.lang.String[] confs, java.util.List<java.io.File> fileList, java.lang.String mainclass, java.lang.String[] args)
private static void
Main. outputCachePath(Ivy ivy, java.io.File cache, ModuleDescriptor md, java.lang.String[] confs, java.lang.String outFile)
java.util.Collection<Artifact>
Ivy14. publish(ModuleDescriptor md, DependencyResolver resolver, java.util.Collection<java.lang.String> srcArtifactPattern, java.lang.String srcIvyPattern, Artifact[] extraArtifacts, boolean overwrite, java.lang.String conf)
ResolveReport
Ivy. resolve(ModuleDescriptor md, ResolveOptions options)
ResolveReport
Ivy14. resolve(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, boolean download, boolean outputReport, Filter<Artifact> artifactFilter)
ResolveReport
Ivy14. resolve(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean download, boolean outputReport, Filter<Artifact> artifactFilter)
ResolveReport
Ivy14. resolve(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, boolean validate, boolean useCacheOnly, boolean transitive, Filter<Artifact> artifactFilter)
ResolveReport
Ivy14. resolve(ModuleDescriptor md, java.lang.String[] confs, java.io.File cache, java.util.Date date, boolean validate, boolean useCacheOnly, Filter<Artifact> artifactFilter)
Method parameters in org.apache.ivy with type arguments of type ModuleDescriptor Modifier and Type Method Description java.util.List<ModuleDescriptor>
Ivy. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors, SortOptions options)
Sorts the given ModuleDescriptors from the less dependent to the more dependent.java.util.List<ModuleDescriptor>
Ivy14. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors)
-
Uses of ModuleDescriptor in org.apache.ivy.ant
Fields in org.apache.ivy.ant with type parameters of type ModuleDescriptor Modifier and Type Field Description private java.util.Map<ModuleDescriptor,java.io.File>
AntWorkspaceResolver.Resolver. md2IvyFile
Methods in org.apache.ivy.ant that return types with arguments of type ModuleDescriptor Modifier and Type Method Description private java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromLeaf(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> leafmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors which depends on the leaf moduleprivate java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromRoot(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> rootmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors and upon which the root module dependsprivate java.util.List<ModuleDescriptor>
IvyBuildList. findModuleDescriptors(java.util.Collection<ModuleDescriptor> mds, java.util.Set<MapMatcher> matchers, java.lang.String kind)
private java.util.Map<ModuleDescriptor,java.io.File>
AntWorkspaceResolver.Resolver. getModuleDescriptors()
Methods in org.apache.ivy.ant with parameters of type ModuleDescriptor Modifier and Type Method Description (package private) DependencyDescriptor
IvyDependency. asDependencyDescriptor(ModuleDescriptor md, java.lang.String masterConf, IvySettings settings)
protected java.util.List<Artifact>
AntWorkspaceResolver.Resolver. createWorkspaceArtifacts(ModuleDescriptor md)
private java.lang.String[]
IvyPostResolveTask. getConfsToResolve(ModuleDescriptor reference, java.lang.String conf, java.lang.String[] rconfs)
private void
IvyBuildList. processFilterNodeFromLeaf(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Search in the moduleIdMap modules depending on node, add them to the toKeep set and process them recursively.private void
IvyBuildList. processFilterNodeFromRoot(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Adds the current node to the toKeep collection and then processes the each of the direct dependencies of this node that appear in the moduleIdMap (indicating that the dependency is part of this BuildList)java.lang.String
IvyDeliver.DeliverDRResolver. resolve(ModuleDescriptor published, java.lang.String publishedStatus, ModuleRevisionId depMrid, java.lang.String depStatus)
private void
IvyInfo. setProperties(ModuleDescriptor md, ModuleRevisionId mrid)
Method parameters in org.apache.ivy.ant with type arguments of type ModuleDescriptor Modifier and Type Method Description private java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromLeaf(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> leafmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors which depends on the leaf moduleprivate java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromLeaf(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> leafmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors which depends on the leaf moduleprivate java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromRoot(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> rootmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors and upon which the root module dependsprivate java.util.Collection<ModuleDescriptor>
IvyBuildList. filterModulesFromRoot(java.util.Collection<ModuleDescriptor> mds, java.util.List<ModuleDescriptor> rootmds)
Returns a collection of ModuleDescriptors that are contained in the input collection of ModuleDescriptors and upon which the root module dependsprivate java.util.List<ModuleDescriptor>
IvyBuildList. findModuleDescriptors(java.util.Collection<ModuleDescriptor> mds, java.util.Set<MapMatcher> matchers, java.lang.String kind)
private void
IvyBuildList. processFilterNodeFromLeaf(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Search in the moduleIdMap modules depending on node, add them to the toKeep set and process them recursively.private void
IvyBuildList. processFilterNodeFromLeaf(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Search in the moduleIdMap modules depending on node, add them to the toKeep set and process them recursively.private void
IvyBuildList. processFilterNodeFromRoot(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Adds the current node to the toKeep collection and then processes the each of the direct dependencies of this node that appear in the moduleIdMap (indicating that the dependency is part of this BuildList)private void
IvyBuildList. processFilterNodeFromRoot(ModuleDescriptor node, java.util.Set<ModuleDescriptor> toKeep, java.util.Map<ModuleId,ModuleDescriptor> moduleIdMap)
Adds the current node to the toKeep collection and then processes the each of the direct dependencies of this node that appear in the moduleIdMap (indicating that the dependency is part of this BuildList) -
Uses of ModuleDescriptor in org.apache.ivy.core.cache
Fields in org.apache.ivy.core.cache declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
ModuleDescriptorMemoryCache.CacheEntry. md
Methods in org.apache.ivy.core.cache that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
ModuleDescriptorMemoryCache. get(java.io.File ivyFile, ParserSettings ivySettings, boolean validated, ModuleDescriptorProvider mdProvider)
(package private) ModuleDescriptor
ModuleDescriptorMemoryCache. getFromCache(java.io.File ivyFile, ParserSettings ivySettings, boolean validated)
private ModuleDescriptor
DefaultRepositoryCacheManager. getMdFromCache(ModuleDescriptorParser mdParser, CacheMetadataOptions options, java.io.File ivyFile)
ModuleDescriptor
DefaultResolutionCacheManager. getResolvedModuleDescriptor(ModuleRevisionId mrid)
ModuleDescriptor
ResolutionCacheManager. getResolvedModuleDescriptor(ModuleRevisionId mrid)
ModuleDescriptor
ModuleDescriptorMemoryCache. getStale(java.io.File ivyFile, ParserSettings ivySettings, boolean validated, ModuleDescriptorProvider mdProvider)
Get the module descriptor from the mdProvider and store it into the cache.private ModuleDescriptor
DefaultRepositoryCacheManager. getStaledMd(ModuleDescriptorParser mdParser, CacheMetadataOptions options, java.io.File ivyFile, ParserSettings parserSettings)
ModuleDescriptor
DefaultRepositoryCacheManager.MyModuleDescriptorProvider. provideModule(ParserSettings ivySettings, java.io.File descriptorURL, boolean validate)
ModuleDescriptor
ModuleDescriptorProvider. provideModule(ParserSettings ivySettings, java.io.File descriptorFile, boolean validate)
Methods in org.apache.ivy.core.cache with parameters of type ModuleDescriptor Modifier and Type Method Description private PropertiesFile
DefaultRepositoryCacheManager. getCachedDataFile(ModuleDescriptor md)
private java.lang.String
DefaultRepositoryCacheManager. getSavedArtResolverName(ModuleDescriptor md)
private java.lang.String
DefaultRepositoryCacheManager. getSavedResolverName(ModuleDescriptor md)
(package private) void
ModuleDescriptorMemoryCache. putInCache(java.io.File url, ParserSettingsMonitor ivySettingsMonitor, boolean validated, ModuleDescriptor descriptor)
private void
DefaultResolutionCacheManager. saveLocalParents(ModuleRevisionId baseMrevId, ModuleDescriptor md, java.io.File mdFile, java.util.Properties paths)
void
DefaultResolutionCacheManager. saveResolvedModuleDescriptor(ModuleDescriptor md)
void
ResolutionCacheManager. saveResolvedModuleDescriptor(ModuleDescriptor md)
private void
DefaultRepositoryCacheManager. saveResolver(ModuleDescriptor md, java.lang.String name)
Saves the information of which resolver was used to resolve a md, so that this info can be retrieve later (even after a jvm restart) by getSavedResolverName(ModuleDescriptor md)void
DefaultRepositoryCacheManager. saveResolvers(ModuleDescriptor md, java.lang.String metadataResolverName, java.lang.String artifactResolverName)
Saves the information of which resolver was used to resolve a md, so that this info can be retrieve later (even after a jvm restart) by getSavedArtResolverName(ModuleDescriptor md)void
RepositoryCacheManager. saveResolvers(ModuleDescriptor descriptor, java.lang.String metadataResolverName, java.lang.String artifactResolverName)
Saves the information of which resolvers were used to resolve a module (both for metadata and artifact), so that this info can be loaded later (even after a jvm restart) for the use ofRepositoryCacheManager.findModuleInCache(DependencyDescriptor, ModuleRevisionId, CacheMetadataOptions, String)
.void
ModuleDescriptorWriter. write(ResolvedResource originalMdResource, ModuleDescriptor md, java.io.File src, java.io.File dest)
Constructors in org.apache.ivy.core.cache with parameters of type ModuleDescriptor Constructor Description CacheEntry(ModuleDescriptor md, boolean validated, ParserSettingsMonitor parserSettingsMonitor)
-
Uses of ModuleDescriptor in org.apache.ivy.core.deliver
Methods in org.apache.ivy.core.deliver with parameters of type ModuleDescriptor Modifier and Type Method Description java.lang.String
DefaultPublishingDRResolver. resolve(ModuleDescriptor published, java.lang.String publishedStatus, ModuleRevisionId depMrid, java.lang.String status)
java.lang.String
PublishingDependencyRevisionResolver. resolve(ModuleDescriptor published, java.lang.String publishedStatus, ModuleRevisionId depMrid, java.lang.String status)
Returns the revision of the dependency for the publishing of the 'published' module in 'publishedStatus' status. -
Uses of ModuleDescriptor in org.apache.ivy.core.event
Methods in org.apache.ivy.core.event with parameters of type ModuleDescriptor Modifier and Type Method Description protected void
IvyEvent. addMDAttributes(ModuleDescriptor md)
-
Uses of ModuleDescriptor in org.apache.ivy.core.event.resolve
Fields in org.apache.ivy.core.event.resolve declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
ResolveEvent. md
Methods in org.apache.ivy.core.event.resolve that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
ResolveEvent. getModuleDescriptor()
Constructors in org.apache.ivy.core.event.resolve with parameters of type ModuleDescriptor Constructor Description EndResolveEvent(ModuleDescriptor md, java.lang.String[] confs, ResolveReport report)
ResolveEvent(java.lang.String name, ModuleDescriptor md, java.lang.String[] confs)
StartResolveEvent(ModuleDescriptor md, java.lang.String[] confs)
-
Uses of ModuleDescriptor in org.apache.ivy.core.module.descriptor
Subinterfaces of ModuleDescriptor in org.apache.ivy.core.module.descriptor Modifier and Type Interface Description interface
WorkspaceModuleDescriptor
Marker interface for module descriptor of a module in a workspace, then having special semantics, like artifacts declared by the resolver rather than the descriptorClasses in org.apache.ivy.core.module.descriptor that implement ModuleDescriptor Modifier and Type Class Description class
DefaultModuleDescriptor
class
DefaultWorkspaceModuleDescriptor
Fields in org.apache.ivy.core.module.descriptor declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
DefaultDependencyDescriptor. md
private ModuleDescriptor
MDArtifact. md
private ModuleDescriptor
DefaultExtendsDescriptor. parent
Methods in org.apache.ivy.core.module.descriptor that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
DefaultExtendsDescriptor. getParentMd()
ModuleDescriptor
ExtendsDescriptor. getParentMd()
static ModuleDescriptor
DefaultModuleDescriptor. transformInstance(ModuleDescriptor md, Namespace ns)
Transforms the given module descriptor of the given namespace and return a new module descriptor in the system namespace.Methods in org.apache.ivy.core.module.descriptor with parameters of type ModuleDescriptor Modifier and Type Method Description boolean
DefaultModuleDescriptor. dependsOn(VersionMatcher matcher, ModuleDescriptor md)
boolean
ModuleDescriptor. dependsOn(VersionMatcher matcher, ModuleDescriptor md)
static Artifact
MDArtifact. newIvyArtifact(ModuleDescriptor md)
void
Configuration. replaceWildcards(ModuleDescriptor md)
static ModuleDescriptor
DefaultModuleDescriptor. transformInstance(ModuleDescriptor md, Namespace ns)
Transforms the given module descriptor of the given namespace and return a new module descriptor in the system namespace.Constructors in org.apache.ivy.core.module.descriptor with parameters of type ModuleDescriptor Constructor Description DefaultDependencyDescriptor(ModuleDescriptor md, ModuleRevisionId mrid, boolean force, boolean changing, boolean transitive)
DefaultDependencyDescriptor(ModuleDescriptor md, ModuleRevisionId mrid, ModuleRevisionId dynamicConstraint, boolean force, boolean changing, boolean transitive)
DefaultExtendsDescriptor(ModuleDescriptor parent, java.lang.String location, java.lang.String[] types)
DefaultExtendsDescriptor(ModuleDescriptor parent, java.lang.String location, java.lang.String[] types, boolean local)
MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext)
MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext, boolean isMetadata)
MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext, java.net.URL url, java.util.Map<java.lang.String,java.lang.String> extraAttributes)
-
Uses of ModuleDescriptor in org.apache.ivy.core.publish
Methods in org.apache.ivy.core.publish with parameters of type ModuleDescriptor Modifier and Type Method Description java.util.Collection<Artifact>
PublishEngine. publish(ModuleDescriptor md, java.util.Collection<java.lang.String> srcArtifactPattern, DependencyResolver resolver, PublishOptions options)
-
Uses of ModuleDescriptor in org.apache.ivy.core.report
Fields in org.apache.ivy.core.report declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
ConfigurationResolveReport. md
private ModuleDescriptor
ResolveReport. md
Methods in org.apache.ivy.core.report that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
ConfigurationResolveReport. getModuleDescriptor()
ModuleDescriptor
ResolveReport. getModuleDescriptor()
ModuleDescriptor
ResolveReport. toFixedModuleDescriptor(IvySettings settings, java.util.List<ModuleId> midToKeep)
Constructors in org.apache.ivy.core.report with parameters of type ModuleDescriptor Constructor Description ConfigurationResolveReport(ResolveEngine resolveEngine, ModuleDescriptor md, java.lang.String conf, java.util.Date date, ResolveOptions options)
ResolveReport(ModuleDescriptor md)
ResolveReport(ModuleDescriptor md, java.lang.String resolveId)
-
Uses of ModuleDescriptor in org.apache.ivy.core.repository
Fields in org.apache.ivy.core.repository with type parameters of type ModuleDescriptor Modifier and Type Field Description private java.util.Map<ModuleId,java.util.Collection<ModuleDescriptor>>
RepositoryManagementEngine. modules
List of ModuleDescriptor per ModuleId.private java.util.Map<ModuleRevisionId,ModuleDescriptor>
RepositoryManagementEngine. revisions
ModuleDescriptors stored by ModuleRevisionIdMethods in org.apache.ivy.core.repository that return types with arguments of type ModuleDescriptor Modifier and Type Method Description private java.util.Collection<ModuleDescriptor>
RepositoryManagementEngine. getAllRevisions(ModuleRevisionId id)
-
Uses of ModuleDescriptor in org.apache.ivy.core.resolve
Fields in org.apache.ivy.core.resolve declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
ResolvedModuleRevision. descriptor
private ModuleDescriptor
IvyNode. md
private ModuleDescriptor
IvyNodeCallers.Caller. md
Methods in org.apache.ivy.core.resolve that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
IvyNode. getDescriptor()
ModuleDescriptor
ResolvedModuleRevision. getDescriptor()
Returns the descriptor of the resolved module.ModuleDescriptor
VisitNode. getDescriptor()
ModuleDescriptor
IvyNodeCallers.Caller. getModuleDescriptor()
Methods in org.apache.ivy.core.resolve with parameters of type ModuleDescriptor Modifier and Type Method Description boolean
IvyNode. directlyExcludes(ModuleDescriptor md, java.lang.String[] moduleConfs, DependencyDescriptor dd, Artifact artifact)
(package private) java.lang.Boolean
IvyNode. doesExclude(ModuleDescriptor md, java.lang.String rootModuleConf, java.lang.String[] moduleConfs, DependencyDescriptor dd, Artifact artifact, java.util.Deque<IvyNode> callersStack)
java.lang.String[]
ResolveOptions. getConfs(ModuleDescriptor md)
Get the asked confs.static java.lang.String
ResolveOptions. getDefaultResolveId(ModuleDescriptor md)
IvyNode[]
ResolveEngine. getDependencies(ModuleDescriptor md, ResolveOptions options, ResolveReport report)
Resolve the dependencies of a module without downloading corresponding artifacts.private void
ResolveEngine. handleTransitiveEviction(ModuleDescriptor md, java.lang.String[] confs, ResolveData data, java.util.List<IvyNode> sortedDependencies)
ResolveReport
ResolveEngine. resolve(ModuleDescriptor md, ResolveOptions options)
Resolve dependencies of a module described by a module descriptor.Constructors in org.apache.ivy.core.resolve with parameters of type ModuleDescriptor Constructor Description Caller(ModuleDescriptor md, ModuleRevisionId mrid, DependencyDescriptor dd, boolean callerCanExclude)
IvyNode(ResolveData data, ModuleDescriptor md)
ResolvedModuleRevision(DependencyResolver resolver, DependencyResolver artifactResolver, ModuleDescriptor descriptor, MetadataArtifactDownloadReport report)
ResolvedModuleRevision(DependencyResolver resolver, DependencyResolver artifactResolver, ModuleDescriptor descriptor, MetadataArtifactDownloadReport report, boolean force)
-
Uses of ModuleDescriptor in org.apache.ivy.core.sort
Fields in org.apache.ivy.core.sort declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
ModuleInSort. module
Fields in org.apache.ivy.core.sort with type parameters of type ModuleDescriptor Modifier and Type Field Description private java.util.List<ModuleDescriptor>
ModuleDescriptorSorter. sorted
Methods in org.apache.ivy.core.sort that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
ModuleInSort. getSortedModuleDescriptor()
Methods in org.apache.ivy.core.sort that return types with arguments of type ModuleDescriptor Modifier and Type Method Description java.util.List<ModuleDescriptor>
ModuleDescriptorSorter. sortModuleDescriptors()
Iterates over all modules calling sortModuleDescriptorsHelp.java.util.List<ModuleDescriptor>
SortEngine. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors, SortOptions options)
Sorts the given ModuleDescriptors from the less dependent to the more dependent.Methods in org.apache.ivy.core.sort with parameters of type ModuleDescriptor Modifier and Type Method Description private void
CollectionOfModulesToSort. addToModulesByModuleId(ModuleDescriptor md, ModuleInSort mdInSort)
void
MessageBasedNonMatchingVersionReporter. reportNonMatchingVersion(DependencyDescriptor descriptor, ModuleDescriptor md)
void
NonMatchingVersionReporter. reportNonMatchingVersion(DependencyDescriptor descriptor, ModuleDescriptor md)
Report to the user that ivy has detected that a module to sort has a dependency on an other module to sort, but the revisions doesn't match.Method parameters in org.apache.ivy.core.sort with type arguments of type ModuleDescriptor Modifier and Type Method Description void
ModuleInSort. addToSortedListIfRequired(java.util.List<ModuleDescriptor> sorted)
Add this module to the sorted list except if this module is an intermediary element of a loop.private void
ModuleInSort. addToSortList(java.util.List<ModuleDescriptor> sortedList)
Add this module to the sorted list.static void
ModuleInSort. logLoopWarning(java.util.List<ModuleDescriptor> loopElement)
Log a warning saying that a loop is detectedjava.util.List<ModuleDescriptor>
SortEngine. sortModuleDescriptors(java.util.Collection<ModuleDescriptor> moduleDescriptors, SortOptions options)
Sorts the given ModuleDescriptors from the less dependent to the more dependent.Constructors in org.apache.ivy.core.sort with parameters of type ModuleDescriptor Constructor Description ModuleInSort(ModuleDescriptor moduleToSort)
Constructor parameters in org.apache.ivy.core.sort with type arguments of type ModuleDescriptor Constructor Description CollectionOfModulesToSort(java.util.Collection<ModuleDescriptor> modulesToSort, VersionMatcher matcher, NonMatchingVersionReporter nonMatchingVersionReporter)
ModuleDescriptorSorter(java.util.Collection<ModuleDescriptor> modulesDescriptorsToSort, VersionMatcher matcher, NonMatchingVersionReporter nonMatchingVersionReporter, CircularDependencyStrategy circularDepStrategy)
-
Uses of ModuleDescriptor in org.apache.ivy.osgi.core
Methods in org.apache.ivy.osgi.core that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
OSGiManifestParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate)
ModuleDescriptor
OSGiManifestParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
Methods in org.apache.ivy.osgi.core with parameters of type ModuleDescriptor Modifier and Type Method Description void
OSGiManifestParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
-
Uses of ModuleDescriptor in org.apache.ivy.osgi.repo
Methods in org.apache.ivy.osgi.repo that return types with arguments of type ModuleDescriptor Modifier and Type Method Description static java.util.Collection<ModuleDescriptor>
ModuleDescriptorWrapper. unwrap(java.util.Collection<ModuleDescriptorWrapper> collection)
Methods in org.apache.ivy.osgi.repo with parameters of type ModuleDescriptor Modifier and Type Method Description private MDResolvedResource
AbstractOSGiResolver. buildResolvedCapabilityMd(DependencyDescriptor dd, ModuleDescriptor md)
protected void
AbstractOSGiResolver. checkModuleDescriptorRevision(ModuleDescriptor systemMd, ModuleRevisionId systemMrid)
Method parameters in org.apache.ivy.osgi.repo with type arguments of type ModuleDescriptor Modifier and Type Method Description private void
AbstractOSGiResolver. filterCapabilityValues(java.util.Set<java.lang.String> capabilityValues, java.util.Map<java.lang.String,java.util.Set<ModuleDescriptor>> moduleByCapabilityValue, java.util.Map<java.lang.String,java.lang.String> tokenValues, java.lang.String rev)
Populate capabilityValues with capability values for which at least one module match the expected revisionResolvedResource[]
AbstractOSGiResolver. findBundle(DependencyDescriptor dd, ResolveData data, java.util.Collection<ModuleDescriptor> mds)
ResolvedResource[]
AbstractOSGiResolver. findCapability(DependencyDescriptor dd, ResolveData data, java.util.Collection<ModuleDescriptor> mds)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.circular
Methods in org.apache.ivy.plugins.circular with parameters of type ModuleDescriptor Modifier and Type Method Description static java.lang.String
CircularDependencyHelper. formatMessage(ModuleDescriptor[] descriptors)
Method parameters in org.apache.ivy.plugins.circular with type arguments of type ModuleDescriptor Modifier and Type Method Description static java.lang.String
CircularDependencyHelper. formatMessageFromDescriptors(java.util.List<ModuleDescriptor> loopElements)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.namespace
Methods in org.apache.ivy.plugins.namespace that return ModuleDescriptor Modifier and Type Method Description static ModuleDescriptor
NameSpaceHelper. toSystem(ModuleDescriptor md, Namespace ns)
Methods in org.apache.ivy.plugins.namespace with parameters of type ModuleDescriptor Modifier and Type Method Description static ModuleDescriptor
NameSpaceHelper. toSystem(ModuleDescriptor md, Namespace ns)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.parser
Methods in org.apache.ivy.plugins.parser that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
AbstractModuleDescriptorParser.AbstractParser. getModuleDescriptor()
ModuleDescriptor
AbstractModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate)
ModuleDescriptor
ModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate)
ModuleDescriptor
ModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
ModuleDescriptor
ModuleDescriptorParserRegistry. parseDescriptor(ParserSettings settings, java.net.URL descriptorURL, Resource res, boolean validate)
Methods in org.apache.ivy.plugins.parser with parameters of type ModuleDescriptor Modifier and Type Method Description private void
AbstractModuleDescriptorParser.AbstractParser. replaceConfigurationWildcards(ModuleDescriptor md)
void
ModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
Convert a module descriptor to an ivy file.void
ModuleDescriptorParserRegistry. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.parser.m2
Classes in org.apache.ivy.plugins.parser.m2 that implement ModuleDescriptor Modifier and Type Class Description static class
PomModuleDescriptorBuilder.PomModuleDescriptor
Methods in org.apache.ivy.plugins.parser.m2 that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
PomModuleDescriptorBuilder. getModuleDescriptor()
ModuleDescriptor
PomModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate)
ModuleDescriptor
PomModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
Methods in org.apache.ivy.plugins.parser.m2 with parameters of type ModuleDescriptor Modifier and Type Method Description private static Artifact
PomModuleDescriptorWriter. findArtifact(ModuleDescriptor md, java.lang.String artifactName)
Returns the first artifact with the correct name and without a classifier.private static DependencyDescriptor[]
PomModuleDescriptorWriter. getDependencies(ModuleDescriptor md, PomWriterOptions options)
static java.util.Map<ModuleId,java.lang.String>
PomModuleDescriptorBuilder. getDependencyManagementMap(ModuleDescriptor md)
static java.util.List<PomDependencyMgt>
PomModuleDescriptorBuilder. getDependencyManagements(ModuleDescriptor md)
private static java.util.List<ModuleId>
PomModuleDescriptorBuilder. getDependencyMgtExclusions(ModuleDescriptor descriptor, java.lang.String groupId, java.lang.String artifactId)
static java.util.List<PomDependencyMgt>
PomModuleDescriptorBuilder. getPlugins(ModuleDescriptor md)
private static void
PomModuleDescriptorWriter. printDependencies(ModuleDescriptor md, java.io.PrintWriter out, PomWriterOptions options, int indent, boolean printDependencies)
private static void
PomModuleDescriptorWriter. setModuleVariables(ModuleDescriptor md, IvyVariableContainer variables, PomWriterOptions options)
void
PomModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
static void
PomModuleDescriptorWriter. write(ModuleDescriptor md, java.io.File output, PomWriterOptions options)
Constructors in org.apache.ivy.plugins.parser.m2 with parameters of type ModuleDescriptor Constructor Description PomDependencyDescriptor(PomReader.PomDependencyData pomDependencyData, ModuleDescriptor moduleDescriptor, ModuleRevisionId revisionId, boolean transitive)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.parser.xml
Fields in org.apache.ivy.plugins.parser.xml declared as ModuleDescriptor Modifier and Type Field Description private ModuleDescriptor
UpdateOptions. mergedDescriptor
Methods in org.apache.ivy.plugins.parser.xml that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor
UpdateOptions. getMergedDescriptor()
(package private) ModuleDescriptor
XmlModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.io.InputStream descriptor, Resource res, boolean validate)
Used for test purposeModuleDescriptor
XmlModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL xmlURL, Resource res, boolean validate)
protected ModuleDescriptor
XmlModuleDescriptorParser.Parser. parseOtherIvyFile(ModuleRevisionId parentMrid)
Describe how to parse aModuleDescriptor
by asking repositoriesprivate ModuleDescriptor
XmlModuleDescriptorParser.Parser. parseParentModuleOnFilesystem(java.lang.String location)
Returns the parent module using the location attribute (for dev purpose).Methods in org.apache.ivy.plugins.parser.xml with parameters of type ModuleDescriptor Modifier and Type Method Description private java.util.Map<ModuleRevisionId,java.util.List<InheritableItem>>
XmlModuleDescriptorUpdater.UpdaterHandler. collateInheritedItems(ModuleDescriptor merged, InheritableItem[] items)
Collect the given list of inherited descriptor items into lists keyed by parent Id.private static java.lang.String
XmlModuleDescriptorWriter. getConfs(ModuleDescriptor md, Artifact artifact)
protected void
XmlModuleDescriptorParser.Parser. mergeAll(ModuleDescriptor parent)
Merge everything from a given parentprotected void
XmlModuleDescriptorParser.Parser. mergeConfigurations(ModuleDescriptor parent)
Describes how to merge configurations elementsprotected void
XmlModuleDescriptorParser.Parser. mergeInfo(ModuleDescriptor parent)
Explain how to inherit metadata related to info elementprotected void
XmlModuleDescriptorParser.Parser. mergeWithOtherModuleDescriptor(java.util.List<java.lang.String> extendTypes, ModuleDescriptor parent)
Merge current module with a given module descriptor and specify what should be inherited through extendTypes argumentvoid
XmlModuleDescriptorUpdater.ConfigurationPrinter. print(ModuleDescriptor parent, java.lang.Object item, java.io.PrintWriter out)
void
XmlModuleDescriptorUpdater.DependencyPrinter. print(ModuleDescriptor parent, java.lang.Object item, java.io.PrintWriter out)
void
XmlModuleDescriptorUpdater.ItemPrinter. print(ModuleDescriptor parent, java.lang.Object item, java.io.PrintWriter out)
Print an XML representation ofitem
toout
.private static void
XmlModuleDescriptorWriter. printAllExcludes(ModuleDescriptor md, java.io.PrintWriter out)
private static void
XmlModuleDescriptorWriter. printAllMediators(ModuleDescriptor md, java.io.PrintWriter out)
private static void
XmlModuleDescriptorWriter. printConfigurations(ModuleDescriptor md, java.io.PrintWriter out)
private static void
XmlModuleDescriptorWriter. printDependencies(ModuleDescriptor md, java.io.PrintWriter out)
protected static void
XmlModuleDescriptorWriter. printDependency(ModuleDescriptor md, DependencyDescriptor dep, java.io.PrintWriter out)
private static void
XmlModuleDescriptorWriter. printDependencyArtefacts(ModuleDescriptor md, java.io.PrintWriter out, DependencyArtifactDescriptor[] depArtifacts)
private static void
XmlModuleDescriptorWriter. printDependencyExcludeRules(ModuleDescriptor md, java.io.PrintWriter out, ExcludeRule[] excludes)
private static void
XmlModuleDescriptorWriter. printDependencyIncludeRules(ModuleDescriptor md, java.io.PrintWriter out, IncludeRule[] includes)
private static void
XmlModuleDescriptorWriter. printInfoTag(ModuleDescriptor md, java.io.PrintWriter out)
private static void
XmlModuleDescriptorWriter. printPublications(ModuleDescriptor md, java.io.PrintWriter out)
private static boolean
XmlModuleDescriptorWriter. requireInnerInfoElement(ModuleDescriptor md)
UpdateOptions
UpdateOptions. setMergedDescriptor(ModuleDescriptor mergedDescriptor)
void
XmlModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
static void
XmlModuleDescriptorWriter. write(ModuleDescriptor md, java.io.File output)
static void
XmlModuleDescriptorWriter. write(ModuleDescriptor md, java.lang.String licenseHeader, java.io.File output)
private void
XmlModuleDescriptorUpdater.UpdaterHandler. writeInheritedConfigurations(ModuleDescriptor merged)
private void
XmlModuleDescriptorUpdater.UpdaterHandler. writeInheritedDependencies(ModuleDescriptor merged)
private void
XmlModuleDescriptorUpdater.UpdaterHandler. writeInheritedDescription(ModuleDescriptor merged)
If no info/description element has yet been written, write the description inherited from the parent descriptor, if any.private void
XmlModuleDescriptorUpdater.UpdaterHandler. writeInheritedItems(ModuleDescriptor merged, InheritableItem[] items, XmlModuleDescriptorUpdater.ItemPrinter printer, java.lang.String itemName, boolean includeContainer)
Write XML elements that do not appear in the source descriptor, but have been copied in from a parent module descriptor via <extends> declaration. -
Uses of ModuleDescriptor in org.apache.ivy.plugins.resolver
Methods in org.apache.ivy.plugins.resolver that return ModuleDescriptor Modifier and Type Method Description protected ModuleDescriptor
AbstractResolver. toSystem(ModuleDescriptor md)
-
Uses of ModuleDescriptor in org.apache.ivy.plugins.version
Methods in org.apache.ivy.plugins.version with parameters of type ModuleDescriptor Modifier and Type Method Description boolean
AbstractVersionMatcher. accept(ModuleRevisionId askedMrid, ModuleDescriptor foundMD)
boolean
ChainVersionMatcher. accept(ModuleRevisionId askedMrid, ModuleDescriptor foundMD)
boolean
LatestVersionMatcher. accept(ModuleRevisionId askedMrid, ModuleDescriptor foundMD)
boolean
VersionMatcher. accept(ModuleRevisionId askedMrid, ModuleDescriptor foundMD)
Indicates if this version matcher considers that the module found matches the asked one. -
Uses of ModuleDescriptor in org.apache.ivy.tools.analyser
Methods in org.apache.ivy.tools.analyser that return ModuleDescriptor Modifier and Type Method Description ModuleDescriptor[]
DependencyAnalyser. analyze(JarModule[] modules)
ModuleDescriptor[]
JarJarDependencyAnalyser. analyze(JarModule[] modules)
-
Uses of ModuleDescriptor in org.apache.ivy.util
Methods in org.apache.ivy.util with parameters of type ModuleDescriptor Modifier and Type Method Description static java.lang.String[]
ConfigurationUtils. replaceWildcards(java.lang.String[] confs, ModuleDescriptor md)
Replace the wildcards in the given configuration array, by the name of the given ModuleDescriptor The supported wildcards are: * : all configurations *(public) : all public configurations *(private) : all private configurations If the given array of configurations isnull
, all configurations from the given module descriptor are returned, including if this array is empty.
-