io.orangebeard.client.entity.FinishTestRun Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Orangebeard Java Client, to be used in Orangebeard Java Listeners
package io.orangebeard.client.entity;
import java.time.LocalDateTime;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.experimental.SuperBuilder;
@SuperBuilder
@Getter
public class FinishTestRun {
@JsonSerialize(using = DateSerializer.class)
private final LocalDateTime endTime;
private Status status;
public FinishTestRun(Status status) {
this.status = status;
this.endTime = LocalDateTime.now();
}
public FinishTestRun(){
this.endTime = LocalDateTime.now();
}
}