
io.hyperfoil.controller.model.Run Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hyperfoil-controller-api Show documentation
Show all versions of hyperfoil-controller-api Show documentation
Hyperfoil Controller RESTful API
package io.hyperfoil.controller.model;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Run {
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public final String id;
public final String benchmark;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss.S")
public final Date started;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss.S")
public final Date terminated;
public final boolean cancelled;
public final boolean completed;
public final String description;
public final List phases;
public final List agents;
public final List errors;
@JsonCreator
public Run(@JsonProperty("id") String id, @JsonProperty("benchmark") String benchmark, @JsonProperty("started") Date started, @JsonProperty("terminated") Date terminated, @JsonProperty("cancelled") boolean cancelled, @JsonProperty("completed") boolean completed, @JsonProperty("description") String description, @JsonProperty("phases") List phases, @JsonProperty("agents") List agents, @JsonProperty("errors") List errors) {
this.id = id;
this.benchmark = benchmark;
this.started = started;
this.terminated = terminated;
this.cancelled = cancelled;
this.completed = completed;
this.description = description;
this.phases = phases;
this.agents = agents;
this.errors = errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy