| java.lang.Object org.apache.ivy.core.resolve.IvyNode
Method Summary | |
public void | addCaller(String rootModuleConf, IvyNode callerNode, String callerConf, String[] dependencyConfs, DependencyDescriptor dd) | public void | blacklist(IvyNodeBlacklist bdata) Blacklists the current node, so that a new resolve process won't ever consider this node as
available in the repository. | boolean | canExclude(String rootModuleConf) | public void | clean() | public int | compareTo(Object obj) | public void | discardConf(String rootModuleConf, String conf) | public boolean | doesCallersExclude(String rootModuleConf, Artifact artifact, Stack callersStack) | public boolean | equals(Object obj) | public IvyNode | findNode(ModuleRevisionId mrid) | public Artifact[] | getAllArtifacts() | public Caller[] | getAllCallers() | public Collection | getAllCallersModuleIds() | public Collection | getAllEvictingConflictManagers() | public Collection | getAllEvictingNodes() | public Collection | getAllEvictingNodesDetails() | public Caller[] | getAllRealCallers() | public Artifact[] | getArtifacts(String rootModuleConf) | public IvyNodeBlacklist | getBlacklistData(String rootModuleConf) Returns the blacklist data of this node in the given root module conf, or null
if this node is not blacklisted in this root module conf. | public Caller[] | getCallers(String rootModuleConf) | public Configuration | getConfiguration(String conf) | public String[] | getConfigurations(String rootModuleConf) Returns the configurations of the dependency required in a given root module configuration. | public ConflictManager | getConflictManager(ModuleId mid) | public String[] | getConfsToFetch() | public ResolveData | getData() | public Collection | getDependencies(String rootModuleConf, String[] confs) | public Collection | getDependencies(String rootModuleConf, String conf, String requestedConf) | public DependencyDescriptor | getDependencyDescriptor(IvyNode parent) | public ModuleDescriptor | getDescriptor() | public String[] | getEvictedConfs() | public EvictionData | getEvictedData(String rootModuleConf) | public Collection | getEvictedNodes(ModuleId mid, String rootModuleConf) | public Collection | getEvictedRevisions(ModuleId mid, String rootModuleConf) | public EvictionData | getEvictionDataInRoot(String rootModuleConf, IvyNode ancestor) | public ModuleRevisionId | getId() | public long | getLastModified() | public ModuleId | getModuleId() | public ResolvedModuleRevision | getModuleRevision() | public Collection | getPendingConflicts(String rootModuleConf, ModuleId mid) | public Exception | getProblem() | public String | getProblemMessage() | public long | getPublication() | public String[] | getRealConfs(String conf) | public IvyNode | getRealNode() | public String[] | getRequiredConfigurations(IvyNode in, String inConf) | public String[] | getRequiredConfigurations() | public ModuleRevisionId | getResolvedId() | public Collection | getResolvedNodes(ModuleId moduleId, String rootModuleConf) | public Collection | getResolvedRevisions(ModuleId moduleId, String rootModuleConf) | public IvyNode | getRoot() | public String[] | getRootModuleConfigurations() | public Artifact[] | getSelectedArtifacts(Filter artifactFilter) | public boolean | hasConfigurationsToLoad() | public boolean | hasProblem() | public int | hashCode() | public boolean | isBlacklisted(String rootModuleConf) Indicates if this node has been blacklisted in the given root module conf. | public boolean | isCompletelyBlacklisted() Indicates if this node has been blacklisted in all root module configurations. | public boolean | isCompletelyEvicted() | public boolean | isDownloaded() | public boolean | isEvicted(String rootModuleConf) | public boolean | isFetched(String conf) | public boolean | isLoaded() | boolean | isRoot() | public boolean | isSearched() | public boolean | loadData(String rootModuleConf, IvyNode parent, String parentConf, String conf, boolean shouldBePublic) After the call node may be discarded. | public void | markEvicted(EvictionData evictionData) | public void | markEvicted(String rootModuleConf, IvyNode node, ConflictManager conflictManager, Collection resolved) | public void | setEvictedNodes(ModuleId moduleId, String rootModuleConf, Collection evicted) | public void | setPendingConflicts(ModuleId moduleId, String rootModuleConf, Collection conflicts) | public void | setResolvedNodes(ModuleId moduleId, String rootModuleConf, Collection resolved) | public String | toString() | public void | updateConfsToFetch(Collection confs) |
blacklist | public void blacklist(IvyNodeBlacklist bdata)(Code) | | Blacklists the current node, so that a new resolve process won't ever consider this node as
available in the repository.
This is useful in combination with
RestartResolveProcess for conflict manager
implementation which use a best effort strategy to find compatible dependency set, like
LatestCompatibleConflictManager
Parameters: rootModuleConf - the root module configuration in which the node should be blacklisted |
clean | public void clean()(Code) | | Clean data related to one root module configuration only
|
getAllArtifacts | public Artifact[] getAllArtifacts()(Code) | | Returns all the artifacts of this dependency required in all the root module configurations
|
getAllCallers | public Caller[] getAllCallers()(Code) | | |
getAllEvictingConflictManagers | public Collection getAllEvictingConflictManagers()(Code) | | |
getAllRealCallers | public Caller[] getAllRealCallers()(Code) | | |
getArtifacts | public Artifact[] getArtifacts(String rootModuleConf)(Code) | | Returns the artifacts of this dependency required in the configurations themselves required
in the given root module configuration
Parameters: rootModuleConf - |
getBlacklistData | public IvyNodeBlacklist getBlacklistData(String rootModuleConf)(Code) | | Returns the blacklist data of this node in the given root module conf, or null
if this node is not blacklisted in this root module conf.
Parameters: rootModuleConf - the root module configuration to consider the blacklist data if any |
getCallers | public Caller[] getCallers(String rootModuleConf)(Code) | | |
getConfigurations | public String[] getConfigurations(String rootModuleConf)(Code) | | Returns the configurations of the dependency required in a given root module configuration.
Parameters: rootModuleConf - |
getEvictedData | public EvictionData getEvictedData(String rootModuleConf)(Code) | | |
getEvictionDataInRoot | public EvictionData getEvictionDataInRoot(String rootModuleConf, IvyNode ancestor)(Code) | | |
getLastModified | public long getLastModified()(Code) | | Returns the last modified timestamp of the module represented by this Node, or 0 if the last
modified timestamp is currently unkwown (module not loaded)
the last modified timestamp of the module represented by this Node |
getPendingConflicts | public Collection getPendingConflicts(String rootModuleConf, ModuleId mid)(Code) | | Returns a collection of Nodes in conflict for which conflict has been detected but conflict
resolution hasn't been done yet
Parameters: rootModuleConf - Parameters: mid - the module id for which pending conflicts should be found a Collection of IvyNode in pending conflict |
getPublication | public long getPublication()(Code) | | |
getRequiredConfigurations | public String[] getRequiredConfigurations(IvyNode in, String inConf)(Code) | | returns the required configurations from the given node
Parameters: in - |
getRequiredConfigurations | public String[] getRequiredConfigurations()(Code) | | returns all the current required configurations of the node
|
getRootModuleConfigurations | public String[] getRootModuleConfigurations()(Code) | | Returns the root module configurations in which this dependency is required
|
getSelectedArtifacts | public Artifact[] getSelectedArtifacts(Filter artifactFilter)(Code) | | Returns all the artifacts of this dependency required in the root module configurations in
which the node is not evicted nor blacklisted
Parameters: artifactFilter - |
hasConfigurationsToLoad | public boolean hasConfigurationsToLoad()(Code) | | |
hasProblem | public boolean hasProblem()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isBlacklisted | public boolean isBlacklisted(String rootModuleConf)(Code) | | Indicates if this node has been blacklisted in the given root module conf.
A blacklisted node should be considered as if it doesn't even exist on the repository.
Parameters: rootModuleConf - the root module conf for which we'd like to know if the node is blacklisted true if this node is blacklisted int he given root module conf, false otherwise See Also: IvyNode.blacklist(String) |
isCompletelyBlacklisted | public boolean isCompletelyBlacklisted()(Code) | | Indicates if this node has been blacklisted in all root module configurations.
true if this node is blacklisted in all root module configurations, false otherwise See Also: IvyNode.blacklist(String) |
isCompletelyEvicted | public boolean isCompletelyEvicted()(Code) | | |
isDownloaded | public boolean isDownloaded()(Code) | | |
isEvicted | public boolean isEvicted(String rootModuleConf)(Code) | | |
isLoaded | public boolean isLoaded()(Code) | | |
isSearched | public boolean isSearched()(Code) | | |
loadData | public boolean loadData(String rootModuleConf, IvyNode parent, String parentConf, String conf, boolean shouldBePublic)(Code) | | After the call node may be discarded. To avoid using discarded node, make sure to get the
real node after the call IvyNode node = ... node.loadData(); node = node.getRealNode(); ...
|
markEvicted | public void markEvicted(EvictionData evictionData)(Code) | | |
|
|