public class FailureCauseMatrixBuildAction extends Object implements hudson.model.BuildBadgeAction
Constructor and Description |
---|
FailureCauseMatrixBuildAction(hudson.matrix.MatrixBuild build,
List<hudson.matrix.MatrixRun> runs)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
convertOldData()
|
String |
findUpStreamName()
Finds the name of the matrix project that this action probably belongs to.
|
FailureCauseBuildAction |
getActionForBuild(hudson.matrix.MatrixRun run)
Convenience method for getting the action for a specific run.
|
String |
getBadgeImageUrl()
Gets the image url for the badge page.
|
String |
getDisplayName() |
static FailureCauseDisplayData |
getFailureCauseDisplayData(hudson.matrix.MatrixRun run)
Gets the failure causes for a specific matrix run.
|
FoundFailureCause |
getFirstFailureCause()
Finds the first run with the first identified cause.
|
List<FoundFailureCause> |
getFoundFailureCauses(hudson.matrix.MatrixRun run)
Gets the failure causes for a specific matrix run.
|
String |
getIconFileName() |
String |
getImageUrl()
Gets the image url for the summary page.
|
List<hudson.matrix.MatrixRun> |
getRunsWithAction()
Gets all the matrix runs that have the failure cause build action.
|
String |
getUrlName() |
boolean |
needsConvertOld()
Check to see if
convertOldData() is needed. |
Object |
readResolve()
Signal that this object is de-serialized.
|
public FailureCauseMatrixBuildAction(hudson.matrix.MatrixBuild build, List<hudson.matrix.MatrixRun> runs)
build
- the build where this action is placed.runs
- the list of MatrixRuns for this action.public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
public FailureCauseBuildAction getActionForBuild(hudson.matrix.MatrixRun run)
run
- the run to get the action for.public List<hudson.matrix.MatrixRun> getRunsWithAction()
public FoundFailureCause getFirstFailureCause()
public String getImageUrl()
public String getBadgeImageUrl()
public List<FoundFailureCause> getFoundFailureCauses(hudson.matrix.MatrixRun run)
run
- the run to find failure causes for.public static FailureCauseDisplayData getFailureCauseDisplayData(hudson.matrix.MatrixRun run)
run
- the run to find failure causes for.public Object readResolve()
runs
should be converted, otherwise
check if runIds
should be converted to runs
.public boolean needsConvertOld()
convertOldData()
is needed.public void convertOldData()
public String findUpStreamName()
Copyright © 2016–2021. All rights reserved.