Class FailureCauseColumn
- java.lang.Object
-
- hudson.views.ListViewColumn
-
- com.sonyericsson.jenkins.plugins.bfa.model.FailureCauseColumn
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ListViewColumn>
public class FailureCauseColumn extends 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 Modifier and Type Class Description static class
FailureCauseColumn.DescriptorImpl
The descriptor forFailureCauseColumn
.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FailureCauseColumn(boolean showText)
The standard data-bound constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBadgeImageUrl(Job job)
List<FoundFailureCause>
getFoundFailureCauses(Job job)
boolean
isShowText()
-
Methods inherited from class hudson.views.ListViewColumn
all, createDefaultInitialColumnList, createDefaultInitialColumnList, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault
-
-
-
-
Method Detail
-
getBadgeImageUrl
public String getBadgeImageUrl(Job job)
- Parameters:
job
- The given job we want the badge image url for- Returns:
- the image url
- See Also:
FailureCauseBuildAction.getBadgeImageUrl()
-
getFoundFailureCauses
public List<FoundFailureCause> getFoundFailureCauses(Job job)
- Parameters:
job
- the job we want to retrieve actions for- Returns:
- the list of found failure causes
- See Also:
FailureCauseBuildAction.getFoundFailureCauses()
-
isShowText
public boolean isShowText()
- Returns:
- true if text should be displayed next to the failure cause icon
-
-