Package step.core.execution.model
Class Execution
java.lang.Object
step.core.accessors.AbstractIdentifiableObject
step.core.accessors.AbstractOrganizableObject
step.core.execution.model.Execution
- All Implemented Interfaces:
EnricheableObject
- Direct Known Subclasses:
ExecutionWrapper
public class Execution
extends step.core.accessors.AbstractOrganizableObject
implements EnricheableObject
-
Field Summary
Fields inherited from class step.core.accessors.AbstractOrganizableObject
attributes, NAME, VERSIONFields inherited from class step.core.accessors.AbstractIdentifiableObject
customFields, ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidsetDescription(String description) voidsetEndTime(Long endTime) voidsetExecutionParameters(ExecutionParameters executionParameters) voidsetExecutionTaskID(String executionTaskID) voidsetExecutiontTaskParameters(ExecutiontTaskParameters executiontTaskParameters) voidsetExecutionType(String executionType) voidsetImportResult(ImportResult importResult) voidsetParameters(Map<String, String> parameters) voidvoidsetReportExports(List<ReportExport> reportExports) voidsetResult(ReportNodeStatus result) voidsetStartTime(Long startTime) voidsetStatus(ExecutionStatus status) toString()Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttribute, getAttributes, hasAttribute, setAttributesMethods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface step.core.objectenricher.EnricheableObject
addAttribute, getAttribute, getAttributes, setAttributes
-
Constructor Details
-
Execution
public Execution()
-
-
Method Details
-
getStartTime
public long getStartTime()- Returns:
- the start time of the execution in epoch format
-
setStartTime
-
getEndTime
- Returns:
- the end time of the execution in epoch format
-
setEndTime
-
getDescription
- Returns:
- the plain text description of the description as displayed in the column "Description" of the execution table
-
setDescription
-
getResult
- Returns:
- the result (overall status) of the execution as displayed in the column "Result" of the execution table
-
setResult
-
getStatus
- Returns:
- the current status of the execution as displayed in the column "Status" of the execution tbale
-
setStatus
-
getPlanId
- Returns:
- the ID of the executed
Plan
-
setPlanId
-
getImportResult
- Returns:
- the result of the import phase from the external repository (ALM, Jira, etc)
-
setImportResult
-
getReportExports
- Returns:
- the result of export of the results to the external repository (ALM, Jira, etc)
-
setReportExports
-
getExecutionTaskID
- Returns:
- the ID of the scheduler task (if any) this execution has been triggered from
-
setExecutionTaskID
-
getExecutionType
- Returns:
- the type of execution ("Default", "TestSet")
-
setExecutionType
-
getParameters
- Returns:
- the list of parameters used by this execution as displayed in the tab "Execution parameters" of the Execution view
-
setParameters
-
getExecutionParameters
- Returns:
- the
ExecutionParametersused for this execution
-
setExecutionParameters
-
getExecutiontTaskParameters
-
setExecutiontTaskParameters
-
toString
-