com.polarion.alm.tracker.ITrackDefectByRulesBuilder
METHODS
Modifiers and Type | Name | Description |
---|---|---|
ITrackDefectByRulesBuilder | withDefectTemplate(IWorkItem) | Specify which defect template to use when creating a new defect. If no defect template is supplied, the default will be selected from the configuration. |
ITrackDefectByRulesBuilder | withSummaryDefect(IWorkItem) | Call this method if you don't want to create a separate defect for this Test Record, but use a summary defect instead. If the Test Record already contains a defect, it will be updated and the summary defect will be ignored. |
ITrackDefectByRulesBuilder | forRecord(ITestRecord) | If the result of the Test Record has the "createDefect" property set to true, it executes the processing of a given Test Record and one of the following will happen. (Ordered by priority):
Note: The Test Run that the Test Record belongs to must already be persisted. (If the Test Run is just being created, save method must be called on it before calling this method.) |
Back to Index