Java Doc for VisitNode.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.VisitNode

VisitNode
public class VisitNode (Code)
A visit node is an object used to represent one visit from one parent on an IvyNode of the dependency graph. During dependency resolution, the ResolveEngine visits nodes of the depency graph following the dependencies, thus the same node can be visited several times, if it is requested from several module. In this case you will have one VisitNode per parent and per root module configuration. Thus VisitNode stores data specific to the visit:
  • parent
  • the node from which the visit is occuring
  • parentConf
  • the configuration of the parent in which this node is visited
  • rootModuleConf
  • the configuration of the root module which is currently resolved



Constructor Summary
public  VisitNode(ResolveData data, IvyNode node, VisitNode parent, String rootModuleConf, String parentConf)
    

Method Summary
public  ConfigurationgetConfiguration(String conf)
    
public  String[]getConfsToFetch()
    
public  CollectiongetDependencies(String conf)
    
public  DependencyDescriptorgetDependencyDescriptor()
    
public  ModuleDescriptorgetDescriptor()
    
public  EvictionDatagetEvictedData()
    
public  CollectiongetEvictedRevisions(ModuleId moduleId)
    
public  EvictionDatagetEvictionDataInRoot(String rootModuleConf, VisitNode ancestor)
    
public  ModuleRevisionIdgetId()
    
public  ModuleIdgetModuleId()
    
public  IvyNodegetNode()
    
public  VisitNodegetParent()
    
public  StringgetParentConf()
    
public  CollectiongetPath()
    
public  String[]getRealConfs(String conf)
    
public  IvyNodegetRealNode()
     Returns the 'real' node currently visited.
public  StringgetRequestedConf()
    
public  String[]getRequiredConfigurations(VisitNode in, String inConf)
    
public  String[]getRequiredConfigurations()
    
public  ModuleRevisionIdgetResolvedId()
    
public  CollectiongetResolvedRevisions(ModuleId mid)
    
public  VisitNodegetRoot()
    
public static  VisitNodegetRoot(VisitNode parent)
    
public  StringgetRootModuleConf()
    
 VisitNodegotoNode(IvyNode node)
     Returns a VisitNode for the given node.
public  booleanhasProblem()
    
public  booleanisCircular()
    
public  booleanisEvicted()
    
protected  booleanisParentConfTransitive()
     Checks if the current node's parent configuration is transitive.
public  booleanisTransitive()
     Returns true if the current dependency descriptor is transitive and the parent configuration is transitive.
public  booleanloadData(String conf, boolean shouldBePublic)
    
public  voidmarkEvicted(EvictionData evictionData)
    
public  voidmarkEvicted(VisitNode parent, ConflictManager conflictMgr, Collection selected)
    
public  voidsetParentConf(String parentConf)
    
public  voidsetRequestedConf(String requestedConf)
    
public  StringtoString()
    
public  voidupdateConfsToFetch(Collection confs)
    
public  voiduseRealNode()
     Ask to the current visited node to use a real node only, if one exist.


Constructor Detail
VisitNode
public VisitNode(ResolveData data, IvyNode node, VisitNode parent, String rootModuleConf, String parentConf)(Code)




Method Detail
getConfiguration
public Configuration getConfiguration(String conf)(Code)



getConfsToFetch
public String[] getConfsToFetch()(Code)



getDependencies
public Collection getDependencies(String conf)(Code)



getDependencyDescriptor
public DependencyDescriptor getDependencyDescriptor()(Code)



getDescriptor
public ModuleDescriptor getDescriptor()(Code)



getEvictedData
public EvictionData getEvictedData()(Code)



getEvictedRevisions
public Collection getEvictedRevisions(ModuleId moduleId)(Code)



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



getId
public ModuleRevisionId getId()(Code)



getModuleId
public ModuleId getModuleId()(Code)



getNode
public IvyNode getNode()(Code)



getParent
public VisitNode getParent()(Code)



getParentConf
public String getParentConf()(Code)



getPath
public Collection getPath()(Code)



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



getRealNode
public IvyNode getRealNode()(Code)
Returns the 'real' node currently visited. 'Real' means that if we are visiting a node created originally with only a version constraint, and if this version constraint has been resolved to an existing node in the graph, we will return the existing node, and not the one originally used which is about to be discarded, since it's not possible to have in the graph two nodes for the same ModuleRevisionId the 'real' node currently visited.



getRequestedConf
public String getRequestedConf()(Code)
Returns the configuration requested by the parent



getRequiredConfigurations
public String[] getRequiredConfigurations(VisitNode in, String inConf)(Code)



getRequiredConfigurations
public String[] getRequiredConfigurations()(Code)



getResolvedId
public ModuleRevisionId getResolvedId()(Code)



getResolvedRevisions
public Collection getResolvedRevisions(ModuleId mid)(Code)



getRoot
public VisitNode getRoot()(Code)



getRoot
public static VisitNode getRoot(VisitNode parent)(Code)



getRootModuleConf
public String getRootModuleConf()(Code)



gotoNode
VisitNode gotoNode(IvyNode node)(Code)
Returns a VisitNode for the given node. The given node must be a representation of the same module (usually in another revision) as the one visited by this node. The given node must also have been already visited.
Parameters:
  node - the node to visit a VisitNode for the given node



hasProblem
public boolean hasProblem()(Code)



isCircular
public boolean isCircular()(Code)
Returns true if this node can already be found in the path



isEvicted
public boolean isEvicted()(Code)



isParentConfTransitive
protected boolean isParentConfTransitive()(Code)
Checks if the current node's parent configuration is transitive.
Parameters:
  node - current node true if the node's parent configuration is transitive



isTransitive
public boolean isTransitive()(Code)
Returns true if the current dependency descriptor is transitive and the parent configuration is transitive. Otherwise returns false. true if current node is transitive and the parent configuration is transitive.



loadData
public boolean loadData(String conf, boolean shouldBePublic)(Code)



markEvicted
public void markEvicted(EvictionData evictionData)(Code)



markEvicted
public void markEvicted(VisitNode parent, ConflictManager conflictMgr, Collection selected)(Code)
Marks the current node as evicted by the the given selected IvyNodes, in the given parent and root module configuration, with the given ConflictManager
Parameters:
  parent - the VisitNode in which eviction has been made
Parameters:
  conflictMgr - the conflict manager responsible for the eviction
Parameters:
  selected - a Collection of IvyNode which have been selected



setParentConf
public void setParentConf(String parentConf)(Code)



setRequestedConf
public void setRequestedConf(String requestedConf)(Code)



toString
public String toString()(Code)



updateConfsToFetch
public void updateConfsToFetch(Collection confs)(Code)



useRealNode
public void useRealNode()(Code)
Ask to the current visited node to use a real node only, if one exist. See getRealNode for details about what a 'real' node is.



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.