Class FailureCauseColumn
java.lang.Object
hudson.views.ListViewColumn
com.sonyericsson.jenkins.plugins.bfa.model.FailureCauseColumn
- All Implemented Interfaces:
ExtensionPoint
,Describable<ListViewColumn>
A column that user can add to a view to display the failure cause of the last build.
- Author:
- vlatombe
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBadgeImageUrl
(Job job) getFoundFailureCauses
(Job job) boolean
Methods inherited from class hudson.views.ListViewColumn
all, createDefaultInitialColumnList, createDefaultInitialColumnList, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault
-
Constructor Details
-
FailureCauseColumn
@DataBoundConstructor public FailureCauseColumn(boolean showText) The standard data-bound constructor.- Parameters:
showText
- if true, will display the text of the failure cause next to the icon
-
-
Method Details
-
getBadgeImageUrl
- Parameters:
job
- The given job we want the badge image url for- Returns:
- the image url
- See Also:
-
getFoundFailureCauses
- Parameters:
job
- the job we want to retrieve actions for- Returns:
- the list of found failure causes
- See Also:
-
isShowText
public boolean isShowText()- Returns:
- true if text should be displayed next to the failure cause icon
-