org.apache.maven.mercury.repository.cache.fs
Class CachedGAVMetadata

java.lang.Object
  extended by org.apache.maven.mercury.repository.api.RepositoryGAVMetadata
      extended by org.apache.maven.mercury.repository.cache.fs.CachedGAVMetadata

public class CachedGAVMetadata
extends RepositoryGAVMetadata

Version:
$Id: CachedGAVMetadata.java 720564 2008-11-25 18:58:02Z ogusakov $
Author:
Oleg Gusakov

Field Summary
static java.lang.String ATTR_CLASSIFIER
           
static java.lang.String ATTR_SNAPSHOT
           
static java.lang.String ELEM_CLASSIFIERS
           
static java.lang.String ELEM_SNAPSHOTS
           
 
Fields inherited from class org.apache.maven.mercury.repository.api.RepositoryGAVMetadata
classifiers, expired, gav, lastCheck, snapshots
 
Constructor Summary
CachedGAVMetadata(java.io.File mdFile)
           
CachedGAVMetadata(RepositoryGAVMetadata gavm)
           
 
Method Summary
 
Methods inherited from class org.apache.maven.mercury.repository.api.RepositoryGAVMetadata
getClassifiers, getGAV, getLastCheck, getLastCheckMillis, getSnapshot, getSnapshots, isExpired, setExpired, updateClassifiers, updateSnapshots
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEM_SNAPSHOTS

public static final java.lang.String ELEM_SNAPSHOTS
See Also:
Constant Field Values

ATTR_SNAPSHOT

public static final java.lang.String ATTR_SNAPSHOT
See Also:
Constant Field Values

ELEM_CLASSIFIERS

public static final java.lang.String ELEM_CLASSIFIERS
See Also:
Constant Field Values

ATTR_CLASSIFIER

public static final java.lang.String ATTR_CLASSIFIER
See Also:
Constant Field Values
Constructor Detail

CachedGAVMetadata

public CachedGAVMetadata(java.io.File mdFile)
                  throws java.io.FileNotFoundException,
                         java.io.IOException,
                         org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                         MetadataCorruptionException
Throws:
java.io.FileNotFoundException
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
MetadataCorruptionException

CachedGAVMetadata

public CachedGAVMetadata(RepositoryGAVMetadata gavm)
                  throws MetadataException
Throws:
MetadataException


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.