|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.views.DetailFactory
public class DetailFactory
Creates detail objects for the selected element of a annotation container.
| Constructor Summary | |
|---|---|
DetailFactory()
|
|
| Method Summary | |
|---|---|
static void |
addDetailBuilder(Class<? extends ResultAction<? extends BuildResult>> actionType,
DetailFactory detailBuilder)
Sets the detail builder class to the specified value. |
static DetailFactory |
create(Class<? extends ResultAction<? extends BuildResult>> actionType)
Creates a new detail builder. |
protected AttributeDetail |
createAttributeDetail(hudson.model.AbstractBuild<?,?> owner,
DefaultAnnotationContainer annotations,
String displayName,
String header,
String defaultEncoding)
Creates a generic detail tab with the specified link. |
Object |
createDetails(String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
String defaultEncoding,
String displayName)
Returns a detail object for the selected element of the specified annotation container. |
protected FixedWarningsDetail |
createFixedWarningsDetail(hudson.model.AbstractBuild<?,?> owner,
Collection<FileAnnotation> fixedAnnotations,
String defaultEncoding,
String displayName)
Creates a generic fixed warnings detail tab with the specified link. |
protected TabDetail |
createTabDetail(hudson.model.AbstractBuild<?,?> owner,
Collection<FileAnnotation> annotations,
String url,
String defaultEncoding)
Creates a generic detail tab with the specified link. |
Object |
createTrendDetails(String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
Collection<FileAnnotation> fixedAnnotations,
Collection<FileAnnotation> newAnnotations,
Collection<String> errors,
String defaultEncoding,
String displayName)
Returns a detail object for the selected element of the specified annotation container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DetailFactory()
| Method Detail |
|---|
public static DetailFactory create(Class<? extends ResultAction<? extends BuildResult>> actionType)
actionType - the type of the action (i.e., the plug-in) to get the detail
builder for
public static void addDetailBuilder(Class<? extends ResultAction<? extends BuildResult>> actionType,
DetailFactory detailBuilder)
actionType - the type of the action (i.e., the plug-in) to set the detail
builder fordetailBuilder - the value to set
public Object createTrendDetails(String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
Collection<FileAnnotation> fixedAnnotations,
Collection<FileAnnotation> newAnnotations,
Collection<String> errors,
String defaultEncoding,
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 Object createDetails(String link,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
String defaultEncoding,
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
protected AttributeDetail createAttributeDetail(hudson.model.AbstractBuild<?,?> owner,
DefaultAnnotationContainer annotations,
String displayName,
String header,
String defaultEncoding)
owner - the build as owner of the detail pageannotations - the annotations to displaydisplayName - the name of the viewheader - the bread crumb namedefaultEncoding - the default encoding to be used when reading and parsing files
protected TabDetail createTabDetail(hudson.model.AbstractBuild<?,?> owner,
Collection<FileAnnotation> annotations,
String url,
String defaultEncoding)
owner - the build as owner of the detail pageannotations - the annotations to displayurl - the URL for the details viewdefaultEncoding - the default encoding to be used when reading and parsing files
protected FixedWarningsDetail createFixedWarningsDetail(hudson.model.AbstractBuild<?,?> owner,
Collection<FileAnnotation> fixedAnnotations,
String defaultEncoding,
String displayName)
owner - the build as owner of the detail pagefixedAnnotations - the annotations to displaydefaultEncoding - the default encoding to be used when reading and parsing filesdisplayName - the name of the view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||