|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.model.AnnotationContainer
hudson.plugins.checkstyle.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.checkstyle.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 AbstractAnnotationsDetail. |
|
| Method Summary | |
|---|---|
void |
doStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image for high/normal/low distribution of the specified object. |
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 |
getHeader()
Returns the header for the detail screen. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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)
AbstractAnnotationsDetail.
owner - current build as owner of this object.annotations - the set of warnings represented by this objectname - the name of this objecthierarchy - the hierarchy level of this detail object| Method Detail |
|---|
public java.lang.String getHeader()
public final hudson.model.AbstractBuild<?,?> getOwner()
public final boolean isCurrent()
true if this build is the last available buildpublic java.lang.String getLocalizedPriority(java.lang.String priorityName)
priorityName - priority as String value
public 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
public void doStatistics(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 Priority[] getPriorities()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||