org.apache.maven.repository
Class DelegatingLocalArtifactRepository

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

Deprecated.

@Deprecated
public class DelegatingLocalArtifactRepository
extends MavenArtifactRepository

Delegating local artifact repository chains the reactor, IDE workspace and user local repository.


Constructor Summary
DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)
          Deprecated.  
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
 Artifact find(Artifact artifact)
          Deprecated.  
 List<String> findVersions(Artifact artifact)
          Deprecated. Finds the versions of the specified artifact that are available in this repository.
 String getBasedir()
          Deprecated.  
 String getId()
          Deprecated.  
 LocalArtifactRepository getIdeWorspace()
          Deprecated.  
 String getKey()
          Deprecated.  
 ArtifactRepositoryLayout getLayout()
          Deprecated.  
 ArtifactRepositoryPolicy getReleases()
          Deprecated.  
 ArtifactRepositoryPolicy getSnapshots()
          Deprecated.  
 String getUrl()
          Deprecated.  
 int hashCode()
          Deprecated.  
 String pathOf(Artifact artifact)
          Deprecated.  
 String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
          Deprecated.  
 void setBuildReactor(LocalArtifactRepository localRepository)
          Deprecated.  
 void setIdeWorkspace(LocalArtifactRepository localRepository)
          Deprecated.  
 
Methods inherited from class org.apache.maven.artifact.repository.MavenArtifactRepository
eq, getAuthentication, getMirroredRepositories, getProtocol, getProxy, 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

DelegatingLocalArtifactRepository

public DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)
Deprecated. 
Method Detail

setBuildReactor

public void setBuildReactor(LocalArtifactRepository localRepository)
Deprecated. 

setIdeWorkspace

public void setIdeWorkspace(LocalArtifactRepository localRepository)
Deprecated. 

getIdeWorspace

public LocalArtifactRepository getIdeWorspace()
Deprecated. 

find

public Artifact find(Artifact artifact)
Deprecated. 
Specified by:
find in interface ArtifactRepository
Overrides:
find in class MavenArtifactRepository

findVersions

public List<String> findVersions(Artifact artifact)
Deprecated. 
Description copied from interface: ArtifactRepository
Finds the versions of the specified artifact that are available in this repository.

Specified by:
findVersions in interface ArtifactRepository
Overrides:
findVersions in class MavenArtifactRepository
Parameters:
artifact - The artifact whose available versions should be determined, must not be null.
Returns:
The available versions of the artifact or an empty list if none, never null.

pathOfLocalRepositoryMetadata

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

getId

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

pathOf

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

getBasedir

public String getBasedir()
Deprecated. 
Specified by:
getBasedir in interface ArtifactRepository
Overrides:
getBasedir in class MavenArtifactRepository

getLayout

public ArtifactRepositoryLayout getLayout()
Deprecated. 
Specified by:
getLayout in interface ArtifactRepository
Overrides:
getLayout in class MavenArtifactRepository

getReleases

public ArtifactRepositoryPolicy getReleases()
Deprecated. 
Specified by:
getReleases in interface ArtifactRepository
Overrides:
getReleases in class MavenArtifactRepository

getSnapshots

public ArtifactRepositoryPolicy getSnapshots()
Deprecated. 
Specified by:
getSnapshots in interface ArtifactRepository
Overrides:
getSnapshots in class MavenArtifactRepository

getKey

public String getKey()
Deprecated. 
Specified by:
getKey in interface ArtifactRepository
Overrides:
getKey in class MavenArtifactRepository

getUrl

public String getUrl()
Deprecated. 
Specified by:
getUrl in interface ArtifactRepository
Overrides:
getUrl in class MavenArtifactRepository

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class MavenArtifactRepository

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class MavenArtifactRepository


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.