public class JcrTestResult extends java.lang.Object implements TestResult, SlcNames, AttachmentsEnabled
TestResult wrapping a JCR node of type
SlcTypes.SLC_TEST_RESULT.ERROR, FAILED, PASSED, STATUSSTR_ERROR, STATUSSTR_FAILED, STATUSSTR_PASSEDSLC_, SLC_ADDRESS, SLC_AGENTS, SLC_AGGREGATED_STATUS, SLC_ARTIFACT_CLASSIFIER, SLC_ARTIFACT_EXTENSION, SLC_ARTIFACT_ID, SLC_ARTIFACT_VERSION, SLC_AS_STRING, SLC_BUNDLE_VERSION, SLC_CATEGORY, SLC_COMPLETED, SLC_ERROR_MESSAGE, SLC_EXECUTION_SPECS, SLC_FLOW, SLC_GROUP_BASE_ID, SLC_GROUP_ID, SLC_IS_CONSTANT, SLC_IS_HIDDEN, SLC_IS_IMMUTABLE, SLC_ISSUES, SLC_LOG, SLC_MAJOR, SLC_MANIFEST, SLC_MESSAGE, SLC_METADATA, SLC_MICRO, SLC_MINOR, SLC_MODULES, SLC_MY_RESULTS, SLC_NAME, SLC_OPTIONAL, SLC_ORIGIN, SLC_PROCESSES, SLC_PROXY, SLC_QUALIFIER, SLC_RESULT_PART, SLC_RESULTS, SLC_RPM_ARCH, SLC_RPM_ARCHIVE_SIZE, SLC_RPM_RELEASE, SLC_RPM_VERSION, SLC_SPEC, SLC_STARTED, SLC_STATUS, SLC_SUCCESS, SLC_SUMMARY, SLC_SYMBOLIC_NAME, SLC_SYSTEM, SLC_TAG, SLC_TEST_CASE, SLC_TEST_CASE_TYPE, SLC_TIMESTAMP, SLC_TYPE, SLC_URL, SLC_USES, SLC_UUID, SLC_VALUE, SLC_VERSION, SLC_VM| Constructor and Description |
|---|
JcrTestResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(Attachment attachment) |
void |
addResultPart(TestResultPart testResultPart)
Adds a part of the result.
|
void |
close()
JCR session is NOT logged out
|
void |
destroy() |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Additional arbitrary meta data
|
java.util.Date |
getCloseDate()
The date when this test result was closed.
|
Node |
getNode() |
java.lang.String |
getUuid() |
void |
init() |
void |
notifyTestRun(TestRun testRun)
Notifies the current test run.
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes) |
void |
setCredentials(Credentials credentials) |
void |
setRepository(Repository repository) |
void |
setResultType(java.lang.String resultType) |
void |
setUuid(java.lang.String uuid) |
public void init()
public void destroy()
public Node getNode()
public void notifyTestRun(TestRun testRun)
TestRunAwarenotifyTestRun in interface TestRunAwarepublic void addResultPart(TestResultPart testResultPart)
TestResultaddResultPart in interface TestResultpublic java.lang.String getUuid()
getUuid in interface TestResultpublic void close()
close in interface TestResultpublic java.util.Date getCloseDate()
TestResultgetCloseDate in interface TestResultpublic java.util.Map<java.lang.String,java.lang.String> getAttributes()
TestResultgetAttributes in interface TestResultpublic void addAttachment(Attachment attachment)
addAttachment in interface AttachmentsEnabledpublic void setUuid(java.lang.String uuid)
public void setRepository(Repository repository)
public void setResultType(java.lang.String resultType)
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
public void setCredentials(Credentials credentials)
Copyright © 2007–2020. All rights reserved.