protected Item(Task task, List<Action> actions, long id, FutureImpl future) { this.task = task; this.id = id; this.future = future; this.inQueueSince = System.currentTimeMillis(); for (Action action: actions) addAction(action); }
protected Item(Task task, List<Action> actions, long id, FutureImpl future) { this.task = task; this.id = id; this.future = future; this.inQueueSince = System.currentTimeMillis(); for (Action action: actions) addAction(action); }
protected Item(Task task, List<Action> actions, int id, FutureImpl future) { this.task = task; this.id = id; this.future = future; this.inQueueSince = System.currentTimeMillis(); for (Action action : actions) { addAction(action); } }
if (blockedItem.canRunWithTimeoutCheck()) { if (blockedItem.replicationFailedMessage != null) { item.addAction(new ReplicationFailedAction(blockedItem.replicationFailedMessage)); logger.trace("{} -> {}", blockedItem.getEventDescription(), blockedItem.replicationFailedMessage); } else {
protected Item(Task task, List<Action> actions, int id, FutureImpl future) { this.task = task; this.id = id; this.future = future; for (Action action: actions) addAction(action); }
protected Item(Task task, List<Action> actions, int id, FutureImpl future) { this.task = task; this.id = id; this.future = future; for (Action action: actions) addAction(action); }
@Override public void foldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions) { // there may be >1 upstream builds (or other unrelated causes) for a single downstream build BuildTriggerAction existing = item.getAction(BuildTriggerAction.class); if (existing == null) { item.addAction(this); } else { synchronized (existing.triggers) { existing.triggers.addAll(triggers); } } LOGGER.log(Level.FINE, "coalescing actions for {0}", item); }
protected Item(Task task, List<Action> actions, int id, FutureImpl future) { this.task = task; this.id = id; this.future = future; for (Action action: actions) addAction(action); }
protected Item(Task task, List<Action> actions, long id, FutureImpl future, long inQueueSince) { this.task = task; this.id = id; this.future = future; this.inQueueSince = inQueueSince; for (Action action: actions) addAction(action); }
public void foldIntoExisting(hudson.model.Queue.Item item, Task owner, List<Action> otherActions) { CauseAction existing = item.getAction(CauseAction.class); if (existing!=null) { existing.addCauses(getCauses()); return; } // no CauseAction found, so add a copy of this one item.addAction(new CauseAction(this)); }
protected Item(Task task, List<Action> actions, int id, FutureImpl future, long inQueueSince) { this.task = task; this.id = id; this.future = future; this.inQueueSince = inQueueSince; for (Action action : actions) { addAction(action); } }
public void foldIntoExisting(hudson.model.Queue.Item item, Task owner, List<Action> otherActions) { CauseAction existing = item.getAction(CauseAction.class); if (existing!=null) { existing.addCauses(getCauses()); return; } // no CauseAction found, so add a copy of this one item.addAction(new CauseAction(this)); }
protected Item(Task task, List<Action> actions, long id, FutureImpl future, long inQueueSince) { this.task = task; this.id = id; this.future = future; this.inQueueSince = inQueueSince; for (Action action: actions) addAction(action); }