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() |
| Modifier and Type | Method and Description |
|---|---|
Result |
addCustomField(String key,
Object value) |
Result |
addDefect(String defect)
Add a defect.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Integer |
getAssignedtoId() |
Integer |
getCaseId() |
String |
getComment() |
int |
getCreatedBy() |
Date |
getCreatedOn() |
<T> T |
getCustomField(String key)
Get custom field.
|
Map<String,Object> |
getCustomFields() |
List<String> |
getDefects() |
String |
getElapsed() |
int |
getId() |
Integer |
getStatusId() |
int |
getTestId() |
String |
getVersion() |
int |
hashCode() |
Result |
setAssignedtoId(Integer assignedtoId) |
Result |
setCaseId(Integer caseId) |
Result |
setComment(String comment) |
Result |
setCreatedBy(int createdBy) |
Result |
setCreatedOn(Date createdOn) |
Result |
setCustomFields(Map<String,Object> customFields) |
Result |
setDefects(List<String> defects) |
Result |
setElapsed(String elapsed) |
Result |
setId(int id) |
Result |
setStatusId(Integer statusId) |
Result |
setTestId(int testId) |
Result |
setVersion(String version) |
String |
toString() |
@Generated(value="lombok") public Result()
public Result addDefect(@NonNull String defect)
defect - defect to be addedpublic <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 © 2015. All rights reserved.