|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.enterprise.build.DashboardWikiGenerator
public class DashboardWikiGenerator
| Field Summary | |
|---|---|
protected Pattern |
scmURLPattern
|
| Constructor Summary | |
|---|---|
DashboardWikiGenerator()
|
|
| 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> mailingLists)
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 |
protected String |
getSCMSpecficPart(String scmConnection)
|
protected String |
getSCMType(String scmConnection)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Pattern scmURLPattern
| Constructor Detail |
|---|
public DashboardWikiGenerator()
| Method Detail |
|---|
public void beginDistribution(PrintWriter writer,
org.apache.maven.project.MavenProject distribution)
beginDistribution in interface DistributionVisitorwriter - the writer associated with this generatordistribution - the distribution's projectpublic void beginCategory(String categoryName)
beginCategory in interface DistributionVisitorcategoryName - name of the new category
public void beginGroup(String groupName,
boolean inTable)
beginGroup in interface DistributionVisitorgroupName - the new group nameinTable - true if the group should be displayed as a column
or as a subtitle.public void beginArtifact(org.apache.maven.artifact.Artifact artifact)
beginArtifact in interface DistributionVisitorartifact - artifact for the modulepublic void addSize(long size)
addSize in interface DistributionVisitorsize - module's sizepublic void addRepository(org.apache.maven.artifact.repository.ArtifactRepository repository)
addRepository in interface DistributionVisitorrepository - module's repositorypublic void addDevelopers(List<org.apache.maven.model.Developer> devs)
addDevelopers in interface DistributionVisitordevs - module's developerspublic void addMailingLists(List<org.apache.maven.model.MailingList> mailingLists)
addMailingLists in interface DistributionVisitormailingLists - mailing-lists for the modulepublic void addImports(List<org.apache.maven.model.Dependency> dependencies)
addImports in interface DistributionVisitordependencies - module's dependenciespublic void addImportedBy(List<org.apache.maven.artifact.Artifact> importers)
addImportedBy in interface DistributionVisitorimporters - module's importerspublic void addSCM(org.apache.maven.model.Scm scm)
addSCM in interface DistributionVisitorscm - module's SCMpublic void addLicenses(List<org.apache.maven.model.License> licenses)
addLicenses in interface DistributionVisitorlicenses - module's licensespublic void endArtifact()
endArtifact in interface DistributionVisitorpublic void endGroup()
endGroup in interface DistributionVisitorpublic void endCategory()
endCategory in interface DistributionVisitorpublic void endDistribution()
endDistribution in interface DistributionVisitorprotected String getSCMType(String scmConnection)
protected String getSCMSpecficPart(String scmConnection)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||