|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.util.model.AnnotationContainer
hudson.plugins.analysis.views.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.analysis.util.model.AnnotationContainer |
|---|
AnnotationContainer.Hierarchy |
| Constructor Summary | |
|---|---|
AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
DetailFactory detailFactory,
Collection<FileAnnotation> annotations,
String defaultEncoding,
String name,
AnnotationContainer.Hierarchy hierarchy)
Creates a new instance of AbstractAnnotationsDetail. |
|
| Method Summary | |
|---|---|
String |
getDefaultEncoding()
Returns the defined default encoding. |
Object |
getDynamic(String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of this module detail view. |
String |
getHeader()
Returns the header for the detail screen. |
String |
getLocalizedPriority(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, wait, wait, wait |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Constructor Detail |
|---|
public AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
DetailFactory detailFactory,
Collection<FileAnnotation> annotations,
String defaultEncoding,
String name,
AnnotationContainer.Hierarchy hierarchy)
AbstractAnnotationsDetail.
owner - current build as owner of this objectdetailFactory - factory to create detail objects withannotations - the set of warnings represented by this objectdefaultEncoding - the default encoding to be used when reading and parsing filesname - the name of this objecthierarchy - the hierarchy level of this detail object| Method Detail |
|---|
public String getDefaultEncoding()
public String getHeader()
public final hudson.model.AbstractBuild<?,?> getOwner()
public final boolean isCurrent()
true if this build is the last available buildpublic String getLocalizedPriority(String priorityName)
priorityName - priority as String value
public Object getDynamic(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 Priority[] getPriorities()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||