@Override protected MatrixConfiguration getT(Combination c) { return getItem(c); } };
protected MatrixConfiguration getT(Combination c) { return getItem(c); } };
protected MatrixConfiguration getT(Combination c) { return getItem(c); } };
@Override public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) { try { MatrixConfiguration item = getItem(token); if(item!=null) return item; } catch (IllegalArgumentException _) { // failed to parse the token as Combination. Must be something else } return super.getDynamic(token,req,rsp); }
@Override public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) { try { MatrixConfiguration item = getItem(token); if (item != null) { return item; } } catch (IllegalArgumentException _) { // failed to parse the token as Combination. Must be something else } return super.getDynamic(token, req, rsp); }
@Override public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) { try { MatrixConfiguration item = getItem(token); if(item!=null) return item; } catch (IllegalArgumentException _) { // failed to parse the token as Combination. Must be something else } return super.getDynamic(token,req,rsp); }
@Override public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) { try { MatrixConfiguration item = getItem(token); if(item!=null) return item; } catch (IllegalArgumentException _) { // failed to parse the token as Combination. Must be something else } return super.getDynamic(token,req,rsp); }
public MatrixConfiguration getItem(String name) { try { return getItem(Combination.fromString(name)); } catch (IllegalArgumentException e) { return null; } }
@Override public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) { try { MatrixConfiguration item = getItem(token); if(item!=null) return item; } catch (IllegalArgumentException ignored) { // failed to parse the token as Combination. Must be something else } return super.getDynamic(token,req,rsp); }
/** * Gets the {@link MatrixRun} in this build that corresponds * to the given combination. */ public MatrixRun getRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if(config==null) return null; return getRunForConfiguration(config); }
@Override public AbstractBuild<?,?> resolveChild(Child child) { MatrixBuild b = (MatrixBuild)owner; return b.getProject().getItem(Combination.fromString(child.name)).getBuildByNumber(child.build); }
/** * Like {@link #getRun(Combination)}, but do not approximate the result by earlier execution * of the given combination (which is done for partial rebuild of the matrix.) */ public MatrixRun getExactRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if(config==null) return null; return config.getBuildByNumber(getNumber()); }
/** * Gets the {@link MatrixRun} in this build that corresponds to the given * combination. */ public MatrixRun getRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if (config == null) { return null; } return config.getBuildByNumber(getNumber()); }
/** * Gets the {@link MatrixRun} in this build that corresponds * to the given combination. */ public MatrixRun getRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if (config == null) { return null; } return config.getBuildByNumber(getNumber()); }
/** * Gets the {@link MatrixRun} in this build that corresponds * to the given combination. */ public MatrixRun getRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if (config == null) { return null; } return config.getBuildByNumber(getNumber()); }
/** * Gets the {@link MatrixRun} in this build that corresponds * to the given combination. */ public MatrixRun getRun(Combination c) { MatrixConfiguration config = getParent().getItem(c); if (config == null) { return null; } return config.getBuildByNumber(getNumber()); }
public String getTooltip() { MatrixRun r = getRun(); if (r != null) { return r.getIconColor().getDescription(); } Queue.Item item = Hudson.getInstance().getQueue().getItem(getParent().getItem(combination)); if (item != null) { return item.getWhy(); } return null; // fall back }
public String getTooltip() { MatrixRun r = getRun(); if (r != null) { return r.getIconColor().getDescription(); } Queue.Item item = Hudson.getInstance().getQueue().getItem(getParent().getItem(combination)); if (item != null) { return item.getWhy(); } return null; // fall back }
public String getTooltip() { MatrixRun r = getRun(); if (r != null) { return r.getIconColor().getDescription(); } Queue.Item item = Hudson.getInstance().getQueue().getItem(getParent().getItem(combination)); if (item != null) { return item.getWhy(); } return null; // fall back }
public String getTooltip() { MatrixRun r = getRun(); if (r != null) { return r.getIconColor().getDescription(); } Queue.Item item = Hudson.getInstance().getQueue().getItem(getParent().getItem(combination)); if (item != null) { return item.getWhy(); } return null; // fall back }