Java Doc for IvyNode.java in  » Code-Analyzer » apache-ivy » org » apache » ivy » core » resolve » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » apache ivy » org.apache.ivy.core.resolve 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.ivy.core.resolve.IvyNode

IvyNode
public class IvyNode implements Comparable(Code)



Constructor Summary
public  IvyNode(ResolveData data, IvyNode parent, DependencyDescriptor dd)
    
public  IvyNode(ResolveData data, ModuleDescriptor md)
    

Method Summary
public  voidaddCaller(String rootModuleConf, IvyNode callerNode, String callerConf, String[] dependencyConfs, DependencyDescriptor dd)
    
public  voidblacklist(IvyNodeBlacklist bdata)
     Blacklists the current node, so that a new resolve process won't ever consider this node as available in the repository.
 booleancanExclude(String rootModuleConf)
    
public  voidclean()
    
public  intcompareTo(Object obj)
    
public  voiddiscardConf(String rootModuleConf, String conf)
    
public  booleandoesCallersExclude(String rootModuleConf, Artifact artifact, Stack callersStack)
    
public  booleanequals(Object obj)
    
public  IvyNodefindNode(ModuleRevisionId mrid)
    
public  Artifact[]getAllArtifacts()
    
public  Caller[]getAllCallers()
    
public  CollectiongetAllCallersModuleIds()
    
public  CollectiongetAllEvictingConflictManagers()
    
public  CollectiongetAllEvictingNodes()
    
public  CollectiongetAllEvictingNodesDetails()
    
public  Caller[]getAllRealCallers()
    
public  Artifact[]getArtifacts(String rootModuleConf)
    
public  IvyNodeBlacklistgetBlacklistData(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  ConfigurationgetConfiguration(String conf)
    
public  String[]getConfigurations(String rootModuleConf)
     Returns the configurations of the dependency required in a given root module configuration.
public  ConflictManagergetConflictManager(ModuleId mid)
    
public  String[]getConfsToFetch()
    
public  ResolveDatagetData()
    
public  CollectiongetDependencies(String rootModuleConf, String[] confs)
    
public  CollectiongetDependencies(String rootModuleConf, String conf, String requestedConf)
    
public  DependencyDescriptorgetDependencyDescriptor(IvyNode parent)
    
public  ModuleDescriptorgetDescriptor()
    
public  String[]getEvictedConfs()
    
public  EvictionDatagetEvictedData(String rootModuleConf)
    
public  CollectiongetEvictedNodes(ModuleId mid, String rootModuleConf)
    
public  CollectiongetEvictedRevisions(ModuleId mid, String rootModuleConf)
    
public  EvictionDatagetEvictionDataInRoot(String rootModuleConf, IvyNode ancestor)
    
public  ModuleRevisionIdgetId()
    
public  longgetLastModified()
    
public  ModuleIdgetModuleId()
    
public  ResolvedModuleRevisiongetModuleRevision()
    
public  CollectiongetPendingConflicts(String rootModuleConf, ModuleId mid)
    
public  ExceptiongetProblem()
    
public  StringgetProblemMessage()
    
public  longgetPublication()
    
public  String[]getRealConfs(String conf)
    
public  IvyNodegetRealNode()
    
public  String[]getRequiredConfigurations(IvyNode in, String inConf)
    
public  String[]getRequiredConfigurations()
    
public  ModuleRevisionIdgetResolvedId()
    
public  CollectiongetResolvedNodes(ModuleId moduleId, String rootModuleConf)
    
public  CollectiongetResolvedRevisions(ModuleId moduleId, String rootModuleConf)
    
public  IvyNodegetRoot()
    
public  String[]getRootModuleConfigurations()
    
public  Artifact[]getSelectedArtifacts(Filter artifactFilter)
    
public  booleanhasConfigurationsToLoad()
    
public  booleanhasProblem()
    
public  inthashCode()
    
public  booleanisBlacklisted(String rootModuleConf)
     Indicates if this node has been blacklisted in the given root module conf.
public  booleanisCompletelyBlacklisted()
     Indicates if this node has been blacklisted in all root module configurations.
public  booleanisCompletelyEvicted()
    
public  booleanisDownloaded()
    
public  booleanisEvicted(String rootModuleConf)
    
public  booleanisFetched(String conf)
    
public  booleanisLoaded()
    
 booleanisRoot()
    
public  booleanisSearched()
    
public  booleanloadData(String rootModuleConf, IvyNode parent, String parentConf, String conf, boolean shouldBePublic)
     After the call node may be discarded.
public  voidmarkEvicted(EvictionData evictionData)
    
public  voidmarkEvicted(String rootModuleConf, IvyNode node, ConflictManager conflictManager, Collection resolved)
    
public  voidsetEvictedNodes(ModuleId moduleId, String rootModuleConf, Collection evicted)
    
public  voidsetPendingConflicts(ModuleId moduleId, String rootModuleConf, Collection conflicts)
    
public  voidsetResolvedNodes(ModuleId moduleId, String rootModuleConf, Collection resolved)
    
public  StringtoString()
    
public  voidupdateConfsToFetch(Collection confs)
    


Constructor Detail
IvyNode
public IvyNode(ResolveData data, IvyNode parent, DependencyDescriptor dd)(Code)



IvyNode
public IvyNode(ResolveData data, ModuleDescriptor md)(Code)




Method Detail
addCaller
public void addCaller(String rootModuleConf, IvyNode callerNode, String callerConf, String[] dependencyConfs, DependencyDescriptor dd)(Code)



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



canExclude
boolean canExclude(String rootModuleConf)(Code)



clean
public void clean()(Code)
Clean data related to one root module configuration only



compareTo
public int compareTo(Object obj)(Code)



discardConf
public void discardConf(String rootModuleConf, String conf)(Code)



doesCallersExclude
public boolean doesCallersExclude(String rootModuleConf, Artifact artifact, Stack callersStack)(Code)



equals
public boolean equals(Object obj)(Code)



findNode
public IvyNode findNode(ModuleRevisionId mrid)(Code)



getAllArtifacts
public Artifact[] getAllArtifacts()(Code)
Returns all the artifacts of this dependency required in all the root module configurations



getAllCallers
public Caller[] getAllCallers()(Code)



getAllCallersModuleIds
public Collection getAllCallersModuleIds()(Code)



getAllEvictingConflictManagers
public Collection getAllEvictingConflictManagers()(Code)



getAllEvictingNodes
public Collection getAllEvictingNodes()(Code)



getAllEvictingNodesDetails
public Collection getAllEvictingNodesDetails()(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)



getConfiguration
public Configuration getConfiguration(String conf)(Code)



getConfigurations
public String[] getConfigurations(String rootModuleConf)(Code)
Returns the configurations of the dependency required in a given root module configuration.
Parameters:
  rootModuleConf -



getConflictManager
public ConflictManager getConflictManager(ModuleId mid)(Code)



getConfsToFetch
public String[] getConfsToFetch()(Code)



getData
public ResolveData getData()(Code)



getDependencies
public Collection getDependencies(String rootModuleConf, String[] confs)(Code)



getDependencies
public Collection getDependencies(String rootModuleConf, String conf, String requestedConf)(Code)



getDependencyDescriptor
public DependencyDescriptor getDependencyDescriptor(IvyNode parent)(Code)



getDescriptor
public ModuleDescriptor getDescriptor()(Code)



getEvictedConfs
public String[] getEvictedConfs()(Code)



getEvictedData
public EvictionData getEvictedData(String rootModuleConf)(Code)



getEvictedNodes
public Collection getEvictedNodes(ModuleId mid, String rootModuleConf)(Code)



getEvictedRevisions
public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf)(Code)



getEvictionDataInRoot
public EvictionData getEvictionDataInRoot(String rootModuleConf, IvyNode ancestor)(Code)



getId
public ModuleRevisionId getId()(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



getModuleId
public ModuleId getModuleId()(Code)



getModuleRevision
public ResolvedModuleRevision getModuleRevision()(Code)



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



getProblem
public Exception getProblem()(Code)



getProblemMessage
public String getProblemMessage()(Code)



getPublication
public long getPublication()(Code)



getRealConfs
public String[] getRealConfs(String conf)(Code)



getRealNode
public IvyNode getRealNode()(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



getResolvedId
public ModuleRevisionId getResolvedId()(Code)



getResolvedNodes
public Collection getResolvedNodes(ModuleId moduleId, String rootModuleConf)(Code)



getResolvedRevisions
public Collection getResolvedRevisions(ModuleId moduleId, String rootModuleConf)(Code)



getRoot
public IvyNode getRoot()(Code)



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)



isFetched
public boolean isFetched(String conf)(Code)



isLoaded
public boolean isLoaded()(Code)



isRoot
boolean isRoot()(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)



markEvicted
public void markEvicted(String rootModuleConf, IvyNode node, ConflictManager conflictManager, Collection resolved)(Code)



setEvictedNodes
public void setEvictedNodes(ModuleId moduleId, String rootModuleConf, Collection evicted)(Code)



setPendingConflicts
public void setPendingConflicts(ModuleId moduleId, String rootModuleConf, Collection conflicts)(Code)



setResolvedNodes
public void setResolvedNodes(ModuleId moduleId, String rootModuleConf, Collection resolved)(Code)



toString
public String toString()(Code)



updateConfsToFetch
public void updateConfsToFetch(Collection confs)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.