public class Result extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.List
Wrapper for list of
Results for internal use. |
| Constructor and Description |
|---|
Result() |
@Generated(value="lombok") public Result()
public Result addDefect(@NonNull String defect)
defect - defect to be addedpublic Result addCustomField(String key, Object value)
key - the name of the custom field with or without "custom_" prefixvalue - the value of the custom fieldpublic <T> T getCustomField(String key)
Use Java Type Inference, to get the value with correct type. Refer to Field.Type for a map of TestRail field types to Java types.
T - the type of returned valuekey - the system name of custom field@Generated(value="lombok") public int getId()
@Generated(value="lombok") public int getTestId()
@Generated(value="lombok") public Integer getCaseId()
@Generated(value="lombok") public Integer getStatusId()
@Generated(value="lombok") public Date getCreatedOn()
@Generated(value="lombok") public int getCreatedBy()
@Generated(value="lombok") public Integer getAssignedtoId()
@Generated(value="lombok") public String getComment()
@Generated(value="lombok") public String getVersion()
@Generated(value="lombok") public String getElapsed()
@Generated(value="lombok") public List<String> getDefects()
@Generated(value="lombok") public Result setId(int id)
@Generated(value="lombok") public Result setTestId(int testId)
@Generated(value="lombok") public Result setCaseId(Integer caseId)
@Generated(value="lombok") public Result setStatusId(Integer statusId)
@Generated(value="lombok") public Result setCreatedOn(Date createdOn)
@Generated(value="lombok") public Result setCreatedBy(int createdBy)
@Generated(value="lombok") public Result setAssignedtoId(Integer assignedtoId)
@Generated(value="lombok") public Result setComment(String comment)
@Generated(value="lombok") public Result setVersion(String version)
@Generated(value="lombok") public Result setElapsed(String elapsed)
@Generated(value="lombok") public Result setDefects(List<String> defects)
@Generated(value="lombok") public Result setCustomFields(Map<String,Object> customFields)
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2017. All rights reserved.