|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DistributionVisitor
Interface to create the dashboard, implementation are rendering specifics (html, wiki) Each instance is not thread-safe.
| Method Summary | |
|---|---|
void |
addDevelopers(List<org.apache.maven.model.Developer> devs)
Adds the list of developers of the module |
void |
addImportedBy(List<org.apache.maven.artifact.Artifact> importers)
Adds the list of modules importing the current module |
void |
addImports(List<org.apache.maven.model.Dependency> dependencies)
Adds the list of imported modules by this module |
void |
addLicenses(List<org.apache.maven.model.License> licenses)
Adds the licenses governing the module |
void |
addMailingLists(List<org.apache.maven.model.MailingList> lists)
Adds the list of mailing-lists associated with the module |
void |
addRepository(org.apache.maven.artifact.repository.ArtifactRepository repository)
Adds the module's repository |
void |
addSCM(org.apache.maven.model.Scm scm)
Adds the source code management information |
void |
addSize(long size)
Adds the module's size |
void |
beginArtifact(org.apache.maven.artifact.Artifact artifact)
Start a new module/library artifact. |
void |
beginCategory(String categoryName)
Start a new category for the dashboard, usually this is represented by a separate table but the underlying format will decide. |
void |
beginDistribution(PrintWriter writer,
org.apache.maven.project.MavenProject distribution)
Sets the writer associated with his generator |
void |
beginGroup(String groupName,
boolean inTable)
Start a new group of modules or librairies. |
void |
endArtifact()
End of the current module's model |
void |
endCategory()
End of the current category |
void |
endDistribution()
End of the distribution |
void |
endGroup()
End of the current group |
| Method Detail |
|---|
void beginDistribution(PrintWriter writer,
org.apache.maven.project.MavenProject distribution)
writer - the writer associated with this generatordistribution - the distribution's projectvoid beginCategory(String categoryName)
categoryName - name of the new category
void beginGroup(String groupName,
boolean inTable)
groupName - the new group nameinTable - true if the group should be displayed as a column
or as a subtitle.void beginArtifact(org.apache.maven.artifact.Artifact artifact)
artifact - artifact for the modulevoid addSize(long size)
size - module's sizevoid addRepository(org.apache.maven.artifact.repository.ArtifactRepository repository)
repository - module's repositoryvoid addDevelopers(List<org.apache.maven.model.Developer> devs)
devs - module's developersvoid addMailingLists(List<org.apache.maven.model.MailingList> lists)
lists - mailing-lists for the modulevoid addImports(List<org.apache.maven.model.Dependency> dependencies)
dependencies - module's dependenciesvoid addImportedBy(List<org.apache.maven.artifact.Artifact> importers)
importers - module's importersvoid addSCM(org.apache.maven.model.Scm scm)
scm - module's SCMvoid addLicenses(List<org.apache.maven.model.License> licenses)
licenses - module's licensesvoid endArtifact()
void endGroup()
void endCategory()
void endDistribution()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||