|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.model.AnnotationContainer
hudson.plugins.findbugs.util.AbstractAnnotationsDetail
public abstract class AbstractAnnotationsDetail
Base class for annotation detail objects. Instances of this class could be used for Hudson Stapler objects that contain a subset of annotations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
AnnotationContainer.Hierarchy |
| Constructor Summary | |
|---|---|
AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String name,
AnnotationContainer.Hierarchy hierarchy)
Creates a new instance of AbstractWarningsDetail. |
|
| Method Summary | |
|---|---|
protected void |
createDetailGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
AnnotationProvider detailObject,
int upperBound)
Creates a detail graph for the specified detail object. |
void |
doModuleStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image for high/normal/low distribution of a maven module. |
void |
doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image for high/normal/low distribution of a Java package. |
protected hudson.model.ModelObject |
getDynamic(java.lang.String link)
Returns the dynamic result of this module detail view. |
java.lang.Object |
getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of this module detail view. |
java.lang.String |
getLocalizedPriority(java.lang.String priorityName)
Returns a localized priority name. |
hudson.model.AbstractBuild<?,?> |
getOwner()
Returns the build as owner of this object. |
Priority[] |
getPriorities()
Returns all possible priorities. |
boolean |
isCurrent()
Returns whether this build is the last available build. |
boolean |
isSingleModuleProject()
Returns whether this project contains just one maven module. |
boolean |
isSinglePackageProject()
Returns whether we only have a single package. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, containsFile, containsModule, containsPackage, getAnnotation, getAnnotation, getAnnotationBound, getAnnotations, getAnnotations, getAnnotations, getChildren, getFile, getFiles, getModule, getModules, getName, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setHierarchy, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Constructor Detail |
|---|
public AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String name,
AnnotationContainer.Hierarchy hierarchy)
AbstractWarningsDetail.
owner - current build as owner of this object.annotations - the set of warnings represented by this objectname - the name of this object| Method Detail |
|---|
public final hudson.model.AbstractBuild<?,?> getOwner()
public final boolean isCurrent()
true if this build is the last available build
protected final void createDetailGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
AnnotationProvider detailObject,
int upperBound)
throws java.io.IOException
request - Stapler requestresponse - Stapler responsedetailObject - the detail object to compute the graph forupperBound - the upper bound of all tasks
java.io.IOException - in case of an errorpublic java.lang.String getLocalizedPriority(java.lang.String priorityName)
priorityName - priority as String value
public final java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
link - the link to identify the sub page to showrequest - Stapler requestresponse - Stapler response
protected hudson.model.ModelObject getDynamic(java.lang.String link)
null must be returned. In this
case, the link will be interpreted as source detail of the specified
annotation.
link - the link to identify the sub page to show, or null if the
source detail should be shown
public Priority[] getPriorities()
public final void doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an errorpublic boolean isSinglePackageProject()
true for single module projects
public final void doModuleStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an errorpublic boolean isSingleModuleProject()
true if this project contains just one maven
module
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||