|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactRepository
Abstraction of an artifact repository. Artifact repositories can be remote, local, or even build reactor or IDE workspace.
Method Detail |
---|
String pathOf(Artifact artifact)
String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
String getUrl()
void setUrl(String url)
String getBasedir()
String getProtocol()
String getId()
void setId(String id)
ArtifactRepositoryPolicy getSnapshots()
void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryPolicy getReleases()
void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryLayout getLayout()
void setLayout(ArtifactRepositoryLayout layout)
String getKey()
@Deprecated boolean isUniqueVersion()
@Deprecated boolean isBlacklisted()
@Deprecated void setBlacklisted(boolean blackListed)
Artifact find(Artifact artifact)
artifact
-
List<String> findVersions(Artifact artifact)
artifact
- The artifact whose available versions should be determined, must not be null
.
null
.boolean isProjectAware()
true
if the repository is backed by actual projects, false
otherwise.void setAuthentication(Authentication authentication)
Authentication getAuthentication()
void setProxy(Proxy proxy)
Proxy getProxy()
List<ArtifactRepository> getMirroredRepositories()
void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
mirroredRepositories
- the repositories that the actual one mirrors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |