public class Suite extends Object implements Serializable, Commentable, Named, Validatable
| Modifier and Type | Class and Description |
|---|---|
static class |
Suite.Timestamp |
| Constructor and Description |
|---|
Suite(String correlationId,
String company,
String project,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTest(Test test) |
boolean |
equals(Object o) |
String |
getComment() |
String |
getCompany() |
String |
getCorrelationId() |
String |
getName() |
String |
getProject() |
Suite.Timestamp |
getRunTimestamp() |
String |
getSuiteIdentifier() |
List<Test> |
getTests() |
Long |
getVersion() |
int |
hashCode() |
Long |
incrementVersion() |
void |
setComment(String comment) |
void |
setRunTimestamp(Suite.Timestamp runTimestamp) |
void |
setVersion(long version) |
String |
toString() |
void |
validate(Set<String> ignoreFields)
Validates Object, throws @ValidatorException if any issue is present
|
public String getCorrelationId()
public String getCompany()
public String getSuiteIdentifier()
public String getProject()
public Long getVersion()
public Long incrementVersion()
public boolean addTest(Test test)
public Suite.Timestamp getRunTimestamp()
public void setRunTimestamp(Suite.Timestamp runTimestamp)
public void setVersion(long version)
public void validate(Set<String> ignoreFields) throws ValidatorException
Validatablevalidate in interface ValidatableignoreFields - Name of fields to be ignored from validationValidatorExceptionpublic void setComment(String comment)
setComment in interface Commentablecomment - comment for given metadata
Sets comment for given metadata.public String getComment()
getComment in interface CommentableCopyright © 2013–2016 Cognifide. All rights reserved.