/** * Convenience method for getting the action for a specific run. * * @param run the run to get the action for. * @return the FailureCauseBuildAction. */ public FailureCauseBuildAction getActionForBuild(MatrixRun run) { return run.getAction(FailureCauseBuildAction.class); }
private FindBugsResultAction getAction(final MatrixRun run) { return run.getAction(FindBugsResultAction.class); } }
private DependencyCheckResultAction getAction(final MatrixRun run) { return run.getAction(DependencyCheckResultAction.class); } }
private FindBugsResultAction getAction(final MatrixRun run) { return run.getAction(FindBugsResultAction.class); } }
private CheckStyleResultAction getAction(final MatrixRun run) { return run.getAction(CheckStyleResultAction.class); } }
private PmdResultAction getAction(final MatrixRun run) { return run.getAction(PmdResultAction.class); } }
private PmdResultAction getAction(final MatrixRun run) { return run.getAction(PmdResultAction.class); } }
private LintResultAction getAction(final MatrixRun run) { return run.getAction(LintResultAction.class); }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { AbstractTestResultAction atr = run.getAction(AbstractTestResultAction.class); if(atr!=null) result.add(atr); return true; } }
/** {@inheritDoc} */ @Override protected CheckStyleResult getResult(final MatrixRun run) { return run.getAction(CheckStyleResultAction.class).getResult(); } }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { // Fix: 415503 - The Mtrix Run may be null if the sub job is cancelled before it starts if (run != null) { AbstractTestResultAction atr = run.getAction(AbstractTestResultAction.class); if (atr != null) { result.add(atr); } } return true; } }
/** {@inheritDoc} */ @Override protected DryResult getResult(final MatrixRun run) { DryResultAction action = run.getAction(DryResultAction.class); return action.getResult(); } }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { final AbstractTestResultAction atr = run.getAction(AbstractTestResultAction.class); if (result == null) { throw new IOException("The buid has not been started yet."); } if (atr != null) { result.add(atr); } return true; } }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { AbstractTestResultAction atr = run.getAction(AbstractTestResultAction.class); if(atr!=null) result.add(atr); return true; } }
/** {@inheritDoc} */ @Override protected FindBugsResult getResult(final MatrixRun run) { FindBugsResultAction action = run.getAction(FindBugsResultAction.class); return action.getResult(); } }
/** {@inheritDoc} */ @Override protected WarningsResult getResult(final MatrixRun run) { WarningsResultAction action = run.getAction(WarningsResultAction.class); return action.getResult(); } }
/** {@inheritDoc} */ @Override protected PmdResult getResult(final MatrixRun run) { PmdResultAction action = run.getAction(PmdResultAction.class); return action.getResult(); } }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { AbstractTestResultAction atr = run.getAction(AbstractTestResultAction.class); if(atr!=null) result.add(atr); return true; } }
/** * Gets the failure causes for a specific matrix run. * * @param run the run to find failure causes for. * @return the failure causes of the run. */ public List<FoundFailureCause> getFoundFailureCauses(MatrixRun run) { FailureCauseBuildAction action = run.getAction(FailureCauseBuildAction.class); if (action != null) { return action.getFoundFailureCauses(); } return new LinkedList<FoundFailureCause>(); }
/** {@inheritDoc} */ @Override public boolean endRun(final MatrixRun run) throws InterruptedException, IOException { if (totals.hasNoAnnotations()) { TasksResult result = run.getAction(TasksResultAction.class).getResult(); totals.addAnnotations(result.getAnnotations()); totals.addScannedFiles(result.getNumberOfFiles()); highTags = result.getTags(Priority.HIGH); normalTags = result.getTags(Priority.NORMAL); lowTags = result.getTags(Priority.LOW); } return true; }