public class TestLog extends QTestBaseModel<TestLog>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
TestLog() |
| Modifier and Type | Method and Description |
|---|---|
TestLog |
addAttachment(Attachment attachment)
Adds attachment to test log.
|
TestLog |
addTestStepLog(TestStepLog testStepLog)
Add the test step log.
|
protected TestLog |
clone() |
java.lang.String |
elementName() |
java.util.List<Attachment> |
getAttachments() |
java.lang.String |
getBuildNumber()
Get build number
|
java.lang.String |
getBuildUrl()
Get build url
|
java.lang.String |
getClassName() |
java.util.Date |
getExecutionEndDate() |
java.util.Date |
getExecutionStartDate() |
java.lang.Long |
getId() |
java.lang.String |
getNote() |
ExecutionStatus |
getStatus() |
TestCase |
getTestCase() |
java.lang.Long |
getTestCaseVersionId() |
java.util.List<TestStepLog> |
getTestStepLogs() |
java.lang.Long |
getUserId() |
java.lang.String |
jsonElementName() |
TestLog |
setAttachments(java.util.List<Attachment> attachments)
Sets the list of testlog's attachments.
|
TestLog |
setBuildNumber(java.lang.String buildNumber)
Set build number to test log
|
TestLog |
setBuildUrl(java.lang.String buildUrl)
Set build url
|
TestLog |
setClassName(java.lang.String className)
Sets the class name associated to test suite.
|
TestLog |
setExecutionEndDate(java.util.Date executionEndDate)
Sets the execution end date.
|
TestLog |
setExecutionStartDate(java.util.Date executionStartDate)
Sets the time when starting running test run.
|
TestLog |
setId(java.lang.Long id)
Sets the test log identifier.
|
TestLog |
setNote(java.lang.String note)
Sets the test log note.
|
TestLog |
setStatus(ExecutionStatus status)
Sets the test log status.
|
TestLog |
setTestCase(TestCase testCase)
Sets the test case instance.
|
TestLog |
setTestCaseVersionId(java.lang.Long testCaseVersionId)
Sets test case version id.
|
TestLog |
setTestStepLogs(java.util.List<TestStepLog> testStepLogs)
Sets the test step logs.
|
TestLog |
setUserId(java.lang.Long userId)
Sets the id of user who ran test run.
|
TestLog |
withAttachments(java.util.List<Attachment> attachments)
Sets the list of testlog's attachments.
|
TestLog |
withBuildNumber(java.lang.String buildNumber)
Set build number to test log
|
TestLog |
withBuildUrl(java.lang.String buildUrl)
Set build url
|
TestLog |
withClassName(java.lang.String className)
Sets the class name associated to test suite.
|
TestLog |
withExecutionEndDate(java.util.Date executionEndDate)
Sets the execution end date.
|
TestLog |
withExecutionStartDate(java.util.Date executionStartDate)
Sets the time when starting running test run.
|
TestLog |
withId(java.lang.Long id)
Sets the test log identifier.
|
TestLog |
withNote(java.lang.String note)
Sets the test log note.
|
TestLog |
withStatus(ExecutionStatus status)
Sets the test log status.
|
TestLog |
withTestCase(TestCase testCase)
Sets the test case instance.
|
TestLog |
withTestCaseVersionId(java.lang.Long testCaseVersionId)
Sets test case version id.
|
TestLog |
withTestStepLogs(java.util.List<TestStepLog> testStepLogs)
Sets the test step logs.
|
TestLog |
withUserId(java.lang.Long userId)
Sets the id of user who ran test run.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.lang.Long getId()
public TestLog setId(java.lang.Long id)
id - the given test log identifier to set.public TestLog withId(java.lang.Long id)
id - the given test log identifier to set.public ExecutionStatus getStatus()
public TestLog setStatus(ExecutionStatus status)
status - the given test log status to set.public TestLog withStatus(ExecutionStatus status)
status - the given test log status to set.public java.lang.Long getTestCaseVersionId()
public TestLog setTestCaseVersionId(java.lang.Long testCaseVersionId)
testCaseVersionId - the given test case version id to set.public TestLog withTestCaseVersionId(java.lang.Long testCaseVersionId)
testCaseVersionId - the given test case version id to set.public java.util.Date getExecutionStartDate()
public TestLog setExecutionStartDate(java.util.Date executionStartDate)
executionStartDate - the given time when starting running test run to set.public TestLog withExecutionStartDate(java.util.Date executionStartDate)
executionStartDate - the given time when starting running test run to set.public java.util.Date getExecutionEndDate()
public TestLog setExecutionEndDate(java.util.Date executionEndDate)
executionEndDate - the given execution end date.public TestLog withExecutionEndDate(java.util.Date executionEndDate)
executionEndDate - the given execution end date.public java.lang.Long getUserId()
public TestLog setUserId(java.lang.Long userId)
userId - the given id of user who ran test run.public TestLog withUserId(java.lang.Long userId)
userId - the given id of user who ran test run.public java.lang.String getNote()
public TestLog setNote(java.lang.String note)
note - the given test log note to set.public TestLog withNote(java.lang.String note)
note - the given test log note to set.public java.lang.String getClassName()
public TestLog setClassName(java.lang.String className)
className - the given class name to set.public TestLog withClassName(java.lang.String className)
className - the given class name to set.public TestCase getTestCase()
public TestLog setTestCase(TestCase testCase)
testCase - the given test case to set.public TestLog withTestCase(TestCase testCase)
testCase - the given test case to set.public java.util.List<TestStepLog> getTestStepLogs()
TestStepLog objects.public TestLog setTestStepLogs(java.util.List<TestStepLog> testStepLogs)
testStepLogs - the given list of test step logs to set.public TestLog withTestStepLogs(java.util.List<TestStepLog> testStepLogs)
testStepLogs - the given list of test step logs to set.public TestLog addTestStepLog(TestStepLog testStepLog)
testStepLog - the given test step log to add.TestLog object.public java.util.List<Attachment> getAttachments()
public TestLog setAttachments(java.util.List<Attachment> attachments)
attachments - the given list of testlog's attachment to set.public TestLog withAttachments(java.util.List<Attachment> attachments)
attachments - the given list of testlog's attachment to set.public TestLog addAttachment(Attachment attachment)
attachment - the given attachment to add to test log.TestLog object.protected TestLog clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String jsonElementName()
jsonElementName in class PropertyContainerpublic java.lang.String getBuildNumber()
public TestLog setBuildNumber(java.lang.String buildNumber)
buildNumber - build number valuepublic TestLog withBuildNumber(java.lang.String buildNumber)
buildNumber - build number valuepublic java.lang.String getBuildUrl()
public TestLog setBuildUrl(java.lang.String buildUrl)
buildUrl - build url valuepublic TestLog withBuildUrl(java.lang.String buildUrl)
buildUrl - build url