
io.hyperfoil.controller.model.Phase 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 Phase {
public final String name;
public final String status;
public final String type;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss.S")
public final Date started;
public final String remaining;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss.S")
public final Date completed;
public final boolean failed;
public final String totalDuration;
public final String description;
@JsonCreator
public Phase(@JsonProperty("name") String name, @JsonProperty("status") String status, @JsonProperty("type") String type, @JsonProperty("started") Date started, @JsonProperty("remaining") String remaining, @JsonProperty("completed") Date completed, @JsonProperty("failed") boolean failed, @JsonProperty("totalDuration") String totalDuration, @JsonProperty("description") String description) {
this.name = name;
this.status = status;
this.type = type;
this.started = started;
this.remaining = remaining;
this.completed = completed;
this.failed = failed;
this.totalDuration = totalDuration;
this.description = description;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy