io.orangebeard.client.entity.StartTestRun 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 com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import java.util.Set;
@JsonInclude(Include.NON_NULL)
@Getter
@EqualsAndHashCode
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StartTestRun {
private String name;
private String description;
@JsonSerialize(using = DateSerializer.class)
private LocalDateTime startTime;
private Set attributes;
private Set changedComponents;
public StartTestRun(String name, String description, Set attributes) {
this.name = name;
this.description = description;
this.startTime = LocalDateTime.now();
this.attributes = attributes;
}
public StartTestRun(String name, String description, Set attributes, Set changedComponents) {
this.name = name;
this.description = description;
this.startTime = LocalDateTime.now();
this.attributes = attributes;
this.changedComponents = changedComponents;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy