org.apache.maven.repository
Class UserLocalArtifactRepository

java.lang.Object
  extended by org.apache.maven.artifact.repository.MavenArtifactRepository
      extended by org.apache.maven.repository.LocalArtifactRepository
          extended by org.apache.maven.repository.UserLocalArtifactRepository
All Implemented Interfaces:
ArtifactRepository

public class UserLocalArtifactRepository
extends LocalArtifactRepository


Field Summary
 
Fields inherited from class org.apache.maven.repository.LocalArtifactRepository
IDE_WORKSPACE
 
Constructor Summary
UserLocalArtifactRepository(ArtifactRepository localRepository)
           
 
Method Summary
 Artifact find(Artifact artifact)
           
 String getId()
           
 boolean hasLocalMetadata()
           
 String pathOf(Artifact artifact)
           
 String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
           
 
Methods inherited from class org.apache.maven.artifact.repository.MavenArtifactRepository
eq, equals, findVersions, getAuthentication, getBasedir, getKey, getLayout, getMirroredRepositories, getProtocol, getProxy, getReleases, getSnapshots, getUrl, hashCode, isBlacklisted, isProjectAware, isUniqueVersion, pathOfRemoteRepositoryMetadata, setAuthentication, setBlacklisted, setId, setLayout, setMirroredRepositories, setProxy, setReleaseUpdatePolicy, setSnapshotUpdatePolicy, setUrl, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserLocalArtifactRepository

public UserLocalArtifactRepository(ArtifactRepository localRepository)
Method Detail

find

public Artifact find(Artifact artifact)
Specified by:
find in interface ArtifactRepository
Specified by:
find in class LocalArtifactRepository
Returns:

getId

public String getId()
Specified by:
getId in interface ArtifactRepository
Overrides:
getId in class MavenArtifactRepository

pathOfLocalRepositoryMetadata

public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
                                            ArtifactRepository repository)
Specified by:
pathOfLocalRepositoryMetadata in interface ArtifactRepository
Overrides:
pathOfLocalRepositoryMetadata in class MavenArtifactRepository

pathOf

public String pathOf(Artifact artifact)
Specified by:
pathOf in interface ArtifactRepository
Overrides:
pathOf in class MavenArtifactRepository

hasLocalMetadata

public boolean hasLocalMetadata()
Specified by:
hasLocalMetadata in class LocalArtifactRepository


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.