Browse Source

Added class descriptions for the interfaces for easy reference.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@349898 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-0.9-alpha-1
Edwin L. Punzalan 18 years ago
parent
commit
77055caf4c

+ 4
- 0
maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/ArtifactReportProcessor.java View File

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();

+ 7
- 0
maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/ArtifactReporter.java View File



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();

+ 3
- 0
maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/MetadataReportProcessor.java View File



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();

+ 3
- 0
maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/RepositoryQueryLayer.java View File



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();

Loading…
Cancel
Save