|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.wagon.repository.Repository
org.apache.maven.artifact.repository.DefaultArtifactRepository
@Deprecated public class DefaultArtifactRepository
This class is an abstraction of the location from/to resources can be transfered.
| Constructor Summary | |
|---|---|
DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout)
Deprecated. Create a local repository or a test repository. |
|
DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout,
ArtifactRepositoryPolicy snapshots,
ArtifactRepositoryPolicy releases)
Deprecated. Create a remote download repository. |
|
DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout,
boolean uniqueVersion)
Deprecated. Create a remote deployment repository. |
|
| Methods inherited from class org.apache.maven.wagon.repository.Repository |
|---|
equals, getBasedir, getHost, getId, getName, getParameter, getPassword, getPermissions, getPort, getProtocol, getUrl, getUsername, hashCode, setBasedir, setId, setName, setParameters, setPermissions, setPort, setProtocol, setUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.maven.artifact.repository.ArtifactRepository |
|---|
getBasedir, getId, getProtocol, getUrl, setId, setUrl |
| Constructor Detail |
|---|
public DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout)
id - the unique identifier of the repositoryurl - the URL of the repositorylayout - the layout of the repository
public DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout,
boolean uniqueVersion)
id - the unique identifier of the repositoryurl - the URL of the repositorylayout - the layout of the repositoryuniqueVersion - whether to assign each snapshot a unique version
public DefaultArtifactRepository(String id,
String url,
ArtifactRepositoryLayout layout,
ArtifactRepositoryPolicy snapshots,
ArtifactRepositoryPolicy releases)
id - the unique identifier of the repositoryurl - the URL of the repositorylayout - the layout of the repositorysnapshots - the policies to use for snapshotsreleases - the policies to use for releases| Method Detail |
|---|
public String pathOf(Artifact artifact)
pathOf in interface ArtifactRepositorypublic String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
pathOfRemoteRepositoryMetadata in interface ArtifactRepository
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
ArtifactRepository repository)
pathOfLocalRepositoryMetadata in interface ArtifactRepositorypublic void setLayout(ArtifactRepositoryLayout layout)
setLayout in interface ArtifactRepositorypublic ArtifactRepositoryLayout getLayout()
getLayout in interface ArtifactRepositorypublic void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy snapshots)
setSnapshotUpdatePolicy in interface ArtifactRepositorypublic ArtifactRepositoryPolicy getSnapshots()
getSnapshots in interface ArtifactRepositorypublic void setReleaseUpdatePolicy(ArtifactRepositoryPolicy releases)
setReleaseUpdatePolicy in interface ArtifactRepositorypublic ArtifactRepositoryPolicy getReleases()
getReleases in interface ArtifactRepositorypublic String getKey()
getKey in interface ArtifactRepositorypublic boolean isBlacklisted()
isBlacklisted in interface ArtifactRepositorypublic void setBlacklisted(boolean blacklisted)
setBlacklisted in interface ArtifactRepositorypublic String toString()
toString in class org.apache.maven.wagon.repository.Repositorypublic Artifact find(Artifact artifact)
find in interface ArtifactRepositorypublic List<String> findVersions(Artifact artifact)
findVersions in interface ArtifactRepositorypublic boolean isProjectAware()
isProjectAware in interface ArtifactRepositorypublic Authentication getAuthentication()
getAuthentication in interface ArtifactRepositorypublic void setAuthentication(Authentication authentication)
setAuthentication in interface ArtifactRepositorypublic Proxy getProxy()
getProxy in interface ArtifactRepositorypublic void setProxy(Proxy proxy)
setProxy in interface ArtifactRepositorypublic boolean isUniqueVersion()
isUniqueVersion in interface ArtifactRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||