com.sonyericsson.jenkins.plugins.bfa.model
Class FailureCauseColumn
java.lang.Object
hudson.views.ListViewColumn
com.sonyericsson.jenkins.plugins.bfa.model.FailureCauseColumn
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.views.ListViewColumn>
public class FailureCauseColumn
- extends hudson.views.ListViewColumn
A column that user can add to a view to display the failure cause of the last build.
- Author:
- vlatombe
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.views.ListViewColumn |
LIST |
Constructor Summary |
FailureCauseColumn(boolean showText)
The standard data-bound constructor. |
Methods inherited from class hudson.views.ListViewColumn |
all, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getBadgeImageUrl
public String getBadgeImageUrl(hudson.model.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(hudson.model.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
Copyright © 2004-2014. All Rights Reserved.