All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.orangebeard.client.entity.FinishTestRun Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
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();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy