com.offbytwo.jenkins.model.BuildWithDetails Maven / Gradle / Ivy
/*
* Copyright (c) 2013 Rising Oak LLC.
*
* Distributed under the MIT license: http://opensource.org/licenses/MIT
*/
package com.offbytwo.jenkins.model;
import com.google.common.base.Predicate;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.*;
import static com.google.common.collect.Collections2.filter;
public class BuildWithDetails extends Build {
List actions; // Should be improved.
boolean building;
String description;
long duration;
long estimatedDuration;
String fullDisplayName;
String id;
long timestamp;
BuildResult result;
List artifacts;
String consoleOutputText;
String consoleOutputHtml;
BuildChangeSet changeSet;
String builtOn;
List culprits;
public List getArtifacts() {
return artifacts;
}
public boolean isBuilding() {
return building;
}
public List getCauses() {
// actions is a List