io.orangebeard.client.entity.StartV3TestRun 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.ZonedDateTime;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Getter
@EqualsAndHashCode
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StartV3TestRun {
private String testSetName;
private String description;
private ZonedDateTime startTime;
private Set attributes;
private Set changedComponents;
public StartV3TestRun(String testSetName, String description, Set attributes) {
this.testSetName = testSetName;
this.description = description;
this.startTime = ZonedDateTime.now();
this.attributes = attributes;
}
public StartV3TestRun(String testSetName, String description, Set attributes, Set changedComponents) {
this.testSetName = testSetName;
this.description = description;
this.startTime = ZonedDateTime.now();
this.attributes = attributes;
this.changedComponents = changedComponents;
}
}