Package com.polarion.alm.tracker.model
Interface ITestStepResult
- All Superinterfaces:
IChangeGenerator
,IChangeListener
,IHasCustomValues
,IHasValues
,IStructure
- Since:
- 3.6.3
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAttachment
(String fileName) Delete attachment.void
deleteAttachmentById
(String attachmentId) Delete attachment using its id.getAttachment
(String fileName) Returns list of attachments of this test step result.void
setComment
(Text comment) void
setResult
(IEnumOption result) void
Methods inherited from interface com.polarion.platform.persistence.model.IChangeGenerator
setChangeOwner
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.platform.persistence.model.IStructure
getEnumeration, getEnumerationOptionForField, getEnumerationTypeForField, getPrototype, getValue, isModified, isReadOnly, isReadOnly, setValue
-
Field Details
-
STRUCTURE_ID
- Since:
- 3.19.2
- See Also:
-
KEY_RESULT
- See Also:
-
KEY_COMMENT
- See Also:
-
KEY_ATTACHMENTS
- Since:
- 3.7.3
- See Also:
-
-
Method Details
-
getResult
IEnumOption getResult() -
setResult
-
setResult
-
getComment
Text getComment() -
setComment
-
getAttachments
Returns list of attachments of this test step result.Use
ITestRecord.createAttachmentForTestStepResult(int, String, String, InputStream)
to create new attachment.- Since:
- 3.7.3
-
deleteAttachment
Delete attachment.- Parameters:
fileName
- attachment's file name (the real one, not the one supplied toITestRecord.createAttachmentForTestStepResult(int, String, String, InputStream)
)- Since:
- 3.7.3
-
deleteAttachmentById
Delete attachment using its id.- Parameters:
attachmentId
- The attachment's id.- Since:
- 3.18.0
-
getAttachment
- Parameters:
fileName
- attachment's file name (the real one, not the one supplied toITestRecord.createAttachmentForTestStepResult(int, String, String, InputStream)
)- Since:
- 3.18.0
-