|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.DetailBuilder
public class DetailBuilder
Creates detail objects for the selected element of a annotation container.
| Constructor Summary | |
|---|---|
protected |
DetailBuilder()
Creates a new instance of DetailBuilder. |
| Method Summary | |
|---|---|
static DetailBuilder |
create()
Creates a new detail builder. |
java.lang.Object |
createDetails(java.lang.String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.lang.String defaultEncoding,
java.lang.String displayName)
Returns a detail object for the selected element of the specified annotation container. |
java.lang.Object |
createTrendDetails(java.lang.String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.util.Collection<FileAnnotation> fixedAnnotations,
java.util.Collection<FileAnnotation> newAnnotations,
java.util.Collection<java.lang.String> errors,
java.lang.String defaultEncoding,
java.lang.String displayName)
Returns a detail object for the selected element of the specified annotation container. |
static void |
setDetailBuilder(java.lang.Class<? extends DetailBuilder> detailBuilder)
Sets the detail builder class to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DetailBuilder()
DetailBuilder.
| Method Detail |
|---|
public static DetailBuilder create()
public static void setDetailBuilder(java.lang.Class<? extends DetailBuilder> detailBuilder)
detailBuilder - the value to set
public java.lang.Object createTrendDetails(java.lang.String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.util.Collection<FileAnnotation> fixedAnnotations,
java.util.Collection<FileAnnotation> newAnnotations,
java.util.Collection<java.lang.String> errors,
java.lang.String defaultEncoding,
java.lang.String displayName)
link - the link to identify the sub page to showowner - the build as owner of the detail pagecontainer - the annotation container to get the details forfixedAnnotations - the annotations fixed in this buildnewAnnotations - the annotations new in this builderrors - the errors in this builddefaultEncoding - the default encoding to be used when reading and parsing filesdisplayName - the name of the selected object
public java.lang.Object createDetails(java.lang.String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.lang.String defaultEncoding,
java.lang.String displayName)
link - the link to identify the sub page to showowner - the build as owner of the detail pagecontainer - the annotation container to get the details fordefaultEncoding - the default encoding to be used when reading and parsing filesdisplayName - the name of the selected object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||