io.split.qos.server.stories.Step Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qosrunner Show documentation
Show all versions of qosrunner Show documentation
Framework for running JUnit Tests as a Continous Service (QoS)
package io.split.qos.server.stories;
import com.beust.jcommander.internal.Lists;
import com.google.common.base.Preconditions;
import java.util.Arrays;
import java.util.List;
public class Step {
private final long started;
private final List descriptions;
private final String title;
Step(long started, String title, List descriptions) {
this.started = started;
this.title = Preconditions.checkNotNull(title);
this.descriptions = Preconditions.checkNotNull(descriptions);
}
Step(long started, String title) {
this.started = started;
this.title = Preconditions.checkNotNull(title);
this.descriptions = Lists.newArrayList();
}
Step(long started, String title, String... descriptions) {
this.started = started;
this.title = Preconditions.checkNotNull(title);
this.descriptions = Arrays.asList(Preconditions.checkNotNull(descriptions));
}
public Long started() {
return started;
}
public String title() {
return title;
}
public List descriptions() {
return descriptions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy