public interface RepositoryListener
This assumes that the events occur before the action has completed, though they don't currently offer any mechanism to prevent an event from occurring or guarantee that it will happen.
FIXME: this needs to be made more permanent since 3rd party plugins will depend on it heavily
Modifier and Type | Method and Description |
---|---|
void |
addArtifact(RepositorySession session,
String repoId,
String namespace,
String projectId,
ProjectVersionMetadata metadata) |
void |
addArtifactProblem(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
RepositoryStorageMetadataException exception) |
void |
deleteArtifact(MetadataRepository metadataRepository,
String repositoryId,
String namespace,
String project,
String version,
String id) |
void deleteArtifact(MetadataRepository metadataRepository, String repositoryId, String namespace, String project, String version, String id)
void addArtifact(RepositorySession session, String repoId, String namespace, String projectId, ProjectVersionMetadata metadata)
void addArtifactProblem(RepositorySession session, String repoId, String namespace, String projectId, String projectVersion, RepositoryStorageMetadataException exception)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.