|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.model.FailureCauseMatrixBuildAction
public class FailureCauseMatrixBuildAction
Build action for the aggregated result of failure causes.
Constructor Summary | |
---|---|
FailureCauseMatrixBuildAction(hudson.matrix.MatrixBuild build,
List<hudson.matrix.MatrixRun> runs)
Standard constructor. |
Method Summary | |
---|---|
void |
convertOldData()
Converts from the use of the buggy runs to use runIds . |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
runs
to use runIds
. Only does the conversion if needed.
public String findUpStreamName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |