Klasse IssuesTotalColumn
java.lang.Object
hudson.views.ListViewColumn
io.jenkins.plugins.analysis.core.columns.IssuesTotalColumn
- Alle implementierten Schnittstellen:
ExtensionPoint
,Describable<ListViewColumn>
Shows the number of issues of a job in a column of a Jenkins view. This column provides an auto-selection mode that
selects all tools that are available for a job. If you are interested in individual results you can also select the
participating tools one by one.
- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Model for oneAnalysisResult
in a job.static class
Extension point registration.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetDetails
(Job<?, ?> job) Returns the total number of issues for the selected static analysis tool in a given job.getName()
boolean
getTools()
Returns the total number of issues for the selected static analysis tool in a given job.getType()
Returns the URL to the selected static analysis results, if unique.protected Object
Called after de-serialization to retain backward compatibility..void
Sets the display name of the column.void
setSelectTools
(boolean selectTools) Determines whether all available tools should be selected or if the selection should be done individually.void
setTools
(List<ToolSelection> tools) Returns the tools that should be taken into account when summing up the totals of a job.void
Defines which value should be shown in the column.Von Klasse geerbte Methoden hudson.views.ListViewColumn
all, createDefaultInitialColumnList, createDefaultInitialColumnList, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault
-
Konstruktordetails
-
IssuesTotalColumn
@DataBoundConstructor public IssuesTotalColumn()Creates a new instance ofToolSelection
.
-
-
Methodendetails
-
readResolve
Called after de-serialization to retain backward compatibility..- Gibt zurück:
- this
-
getSelectTools
public boolean getSelectTools() -
setSelectTools
@DataBoundSetter public void setSelectTools(boolean selectTools) Determines whether all available tools should be selected or if the selection should be done individually.- Parameter:
selectTools
- iftrue
the selection of tools can be done manually by selecting the corresponding ID, otherwise all available tools in a job are automatically selected
-
getTools
-
setTools
Returns the tools that should be taken into account when summing up the totals of a job.- Parameter:
tools
- the tools to select- Siehe auch:
-
getName
-
setName
Sets the display name of the column.- Parameter:
name
- the name of the column
-
getType
-
setType
Defines which value should be shown in the column.- Parameter:
type
- the type of the values to show
-
getTotal
Returns the total number of issues for the selected static analysis tool in a given job.- Parameter:
job
- the job to select- Gibt zurück:
- the number of issues for a tool in a given job
-
getDetails
Returns the total number of issues for the selected static analysis tool in a given job.- Parameter:
job
- the job to select- Gibt zurück:
- the number of issues for a tool in a given job
-
getUrl
Returns the URL to the selected static analysis results, if unique.- Parameter:
job
- the job to select- Gibt zurück:
- the URL to the results, if this column renders the results of a unique tool, empty string otherwise
-