Java Doc for DefaultRepositoryCacheManager.java in  » Code-Analyzer » apache-ivy » org » apache » ivy » core » cache » 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.cache 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.ivy.core.cache.DefaultRepositoryCacheManager

DefaultRepositoryCacheManager
public class DefaultRepositoryCacheManager implements RepositoryCacheManager,IvySettingsAware(Code)



Constructor Summary
public  DefaultRepositoryCacheManager()
    
public  DefaultRepositoryCacheManager(String name, IvySettings settings, File basedir)
    

Method Summary
public  voidaddConfiguredTtl(Map attributes)
    
public  voidaddTTL(Map attributes, PatternMatcher matcher, long duration)
    
public  ResolvedModuleRevisioncacheModuleDescriptor(DependencyResolver resolver, ResolvedResource mdRef, DependencyDescriptor dd, Artifact moduleArtifact, ResourceDownloader downloader, CacheMetadataOptions options)
    
public  voidclean()
    
public  ArtifactDownloadReportdownload(Artifact artifact, ArtifactResourceResolver resourceResolver, ResourceDownloader resourceDownloader, CacheDownloadOptions options)
    
public  voiddumpSettings()
    
public  ResolvedModuleRevisionfindModuleInCache(DependencyDescriptor dd, CacheMetadataOptions options, String expectedResolver)
    
public  FilegetArchiveFileInCache(Artifact artifact)
     Returns a File object pointing to where the artifact can be found on the local file system.
public  FilegetArchiveFileInCache(Artifact artifact, ArtifactOrigin origin)
     Returns a File object pointing to where the artifact can be found on the local file system.
public  StringgetArchivePathInCache(Artifact artifact)
    
public  StringgetArchivePathInCache(Artifact artifact, ArtifactOrigin origin)
    
public  StringgetArtifactPattern()
    
public  FilegetBasedir()
    
public  StringgetChangingMatcherName()
    
public  StringgetChangingPattern()
    
public  StringgetDataFilePattern()
    
public  longgetDefaultTTL()
    
public  FilegetIvyFileInCache(ModuleRevisionId mrid)
    
public  StringgetIvyPattern()
    
public  LockStrategygetLockStrategy()
    
public  StringgetName()
    
public  ArtifactgetOriginalMetadataArtifact(Artifact moduleArtifact)
    
public  FilegetRepositoryCacheRoot()
    
public  ArtifactOrigingetSavedArtifactOrigin(Artifact artifact)
    
public  IvySettingsgetSettings()
    
public  longgetTTL(ModuleRevisionId mrid)
    
public  booleanisCheckmodified()
     True if this cache should check lastmodified date to know if ivy files are up to date.
public  booleanisUseOrigin()
     True if this cache should use artifacts original location when possible, false if they should be copied to cache.
public  voidoriginalToCachedModuleDescriptor(DependencyResolver resolver, ResolvedResource orginalMetadataRef, Artifact requestedMetadataArtifact, ResolvedModuleRevision rmr, ModuleDescriptorWriter writer)
    
 voidsaveArtifactOrigin(Artifact artifact, ArtifactOrigin origin)
    
public  voidsaveResolvers(ModuleDescriptor md, String metadataResolverName, String artifactResolverName)
    
public  voidsetArtifactPattern(String artifactPattern)
    
public  voidsetBasedir(File cache)
    
public  voidsetChangingMatcher(String changingMatcherName)
    
public  voidsetChangingPattern(String changingPattern)
    
public  voidsetCheckmodified(boolean check)
    
public  voidsetDataFilePattern(String dataFilePattern)
    
public  voidsetDefaultTTL(long defaultTTL)
    
public  voidsetDefaultTTL(String defaultTTL)
    
public  voidsetIvyPattern(String ivyPattern)
    
public  voidsetLockStrategy(LockStrategy lockStrategy)
    
public  voidsetLockStrategy(String lockStrategyName)
    
public  voidsetName(String name)
    
public  voidsetSettings(IvySettings settings)
    
public  voidsetUseOrigin(boolean b)
    
public  StringtoString()
    


Constructor Detail
DefaultRepositoryCacheManager
public DefaultRepositoryCacheManager()(Code)



DefaultRepositoryCacheManager
public DefaultRepositoryCacheManager(String name, IvySettings settings, File basedir)(Code)




Method Detail
addConfiguredTtl
public void addConfiguredTtl(Map attributes)(Code)



addTTL
public void addTTL(Map attributes, PatternMatcher matcher, long duration)(Code)



cacheModuleDescriptor
public ResolvedModuleRevision cacheModuleDescriptor(DependencyResolver resolver, ResolvedResource mdRef, DependencyDescriptor dd, Artifact moduleArtifact, ResourceDownloader downloader, CacheMetadataOptions options) throws ParseException(Code)



clean
public void clean()(Code)



download
public ArtifactDownloadReport download(Artifact artifact, ArtifactResourceResolver resourceResolver, ResourceDownloader resourceDownloader, CacheDownloadOptions options)(Code)



dumpSettings
public void dumpSettings()(Code)



findModuleInCache
public ResolvedModuleRevision findModuleInCache(DependencyDescriptor dd, CacheMetadataOptions options, String expectedResolver)(Code)



getArchiveFileInCache
public File getArchiveFileInCache(Artifact artifact)(Code)
Returns a File object pointing to where the artifact can be found on the local file system. This is usually in the cache, but it can be directly in the repository if it is local and if the resolve has been done with useOrigin = true



getArchiveFileInCache
public File getArchiveFileInCache(Artifact artifact, ArtifactOrigin origin)(Code)
Returns a File object pointing to where the artifact can be found on the local file system. This is usually in the cache, but it can be directly in the repository if it is local and if the resolve has been done with useOrigin = true



getArchivePathInCache
public String getArchivePathInCache(Artifact artifact)(Code)



getArchivePathInCache
public String getArchivePathInCache(Artifact artifact, ArtifactOrigin origin)(Code)



getArtifactPattern
public String getArtifactPattern()(Code)



getBasedir
public File getBasedir()(Code)



getChangingMatcherName
public String getChangingMatcherName()(Code)



getChangingPattern
public String getChangingPattern()(Code)



getDataFilePattern
public String getDataFilePattern()(Code)



getDefaultTTL
public long getDefaultTTL()(Code)



getIvyFileInCache
public File getIvyFileInCache(ModuleRevisionId mrid)(Code)



getIvyPattern
public String getIvyPattern()(Code)



getLockStrategy
public LockStrategy getLockStrategy()(Code)



getName
public String getName()(Code)



getOriginalMetadataArtifact
public Artifact getOriginalMetadataArtifact(Artifact moduleArtifact)(Code)



getRepositoryCacheRoot
public File getRepositoryCacheRoot()(Code)



getSavedArtifactOrigin
public ArtifactOrigin getSavedArtifactOrigin(Artifact artifact)(Code)



getSettings
public IvySettings getSettings()(Code)



getTTL
public long getTTL(ModuleRevisionId mrid)(Code)



isCheckmodified
public boolean isCheckmodified()(Code)
True if this cache should check lastmodified date to know if ivy files are up to date.



isUseOrigin
public boolean isUseOrigin()(Code)
True if this cache should use artifacts original location when possible, false if they should be copied to cache.



originalToCachedModuleDescriptor
public void originalToCachedModuleDescriptor(DependencyResolver resolver, ResolvedResource orginalMetadataRef, Artifact requestedMetadataArtifact, ResolvedModuleRevision rmr, ModuleDescriptorWriter writer)(Code)



saveArtifactOrigin
void saveArtifactOrigin(Artifact artifact, ArtifactOrigin origin)(Code)



saveResolvers
public void saveResolvers(ModuleDescriptor md, String metadataResolverName, String artifactResolverName)(Code)
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)
Parameters:
  md - the module descriptor resolved
Parameters:
  name - artifact resolver name



setArtifactPattern
public void setArtifactPattern(String artifactPattern)(Code)



setBasedir
public void setBasedir(File cache)(Code)



setChangingMatcher
public void setChangingMatcher(String changingMatcherName)(Code)



setChangingPattern
public void setChangingPattern(String changingPattern)(Code)



setCheckmodified
public void setCheckmodified(boolean check)(Code)



setDataFilePattern
public void setDataFilePattern(String dataFilePattern)(Code)



setDefaultTTL
public void setDefaultTTL(long defaultTTL)(Code)



setDefaultTTL
public void setDefaultTTL(String defaultTTL)(Code)



setIvyPattern
public void setIvyPattern(String ivyPattern)(Code)



setLockStrategy
public void setLockStrategy(LockStrategy lockStrategy)(Code)



setLockStrategy
public void setLockStrategy(String lockStrategyName)(Code)



setName
public void setName(String name)(Code)



setSettings
public void setSettings(IvySettings settings)(Code)



setUseOrigin
public void setUseOrigin(boolean b)(Code)



toString
public String toString()(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.