git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@349898 13f79535-47bb-0310-9956-ffa450edef68tags/archiva-0.9-alpha-1
import org.apache.maven.artifact.Artifact; | import org.apache.maven.artifact.Artifact; | ||||
import org.apache.maven.model.Model; | import org.apache.maven.model.Model; | ||||
/** | |||||
* This interface will be called by the main system for each artifact as it is discovered. This is how each of the | |||||
* different types of reports are implemented. | |||||
*/ | |||||
public interface ArtifactReportProcessor | public interface ArtifactReportProcessor | ||||
{ | { | ||||
String ROLE = ArtifactReportProcessor.class.getName(); | String ROLE = ArtifactReportProcessor.class.getName(); |
import org.apache.maven.artifact.Artifact; | import org.apache.maven.artifact.Artifact; | ||||
/** | |||||
* This interface is used by the single artifact processor. | |||||
* | |||||
* The initial implementation of this will just need to be a mock implementation in src/test/java, used to track the | |||||
* failures and successes for checking assertions. Later, implementations will be made to present reports on the | |||||
* web interface, send them via mail, and so on. | |||||
*/ | |||||
public interface ArtifactReporter | public interface ArtifactReporter | ||||
{ | { | ||||
String ROLE = ArtifactReporter.class.getName(); | String ROLE = ArtifactReporter.class.getName(); |
import org.apache.maven.artifact.repository.metadata.RepositoryMetadata; | import org.apache.maven.artifact.repository.metadata.RepositoryMetadata; | ||||
/** | |||||
* This interface is called by the main system for each piece of metadata as it is discovered. | |||||
*/ | |||||
public interface MetadataReportProcessor | public interface MetadataReportProcessor | ||||
{ | { | ||||
String ROLE = MetadataReportProcessor.class.getName(); | String ROLE = MetadataReportProcessor.class.getName(); |
import org.apache.maven.artifact.Artifact; | import org.apache.maven.artifact.Artifact; | ||||
/** | |||||
* The transitive and metadata validation reports will need to query the repository for artifacts. | |||||
*/ | |||||
public interface RepositoryQueryLayer | public interface RepositoryQueryLayer | ||||
{ | { | ||||
String ROLE = RepositoryQueryLayer.class.getName(); | String ROLE = RepositoryQueryLayer.class.getName(); |