mirror of https://github.com/apache/archiva.git
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
This commit is contained in:
parent
1d8e9755ea
commit
77055caf4c
|
@ -20,6 +20,10 @@ package org.apache.maven.repository.reporting;
|
||||||
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();
|
||||||
|
|
|
@ -18,6 +18,13 @@ package org.apache.maven.repository.reporting;
|
||||||
|
|
||||||
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();
|
||||||
|
|
|
@ -19,6 +19,9 @@ package org.apache.maven.repository.reporting;
|
||||||
|
|
||||||
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();
|
||||||
|
|
|
@ -19,6 +19,9 @@ package org.apache.maven.repository.reporting;
|
||||||
|
|
||||||
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…
Reference in New Issue