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, VERSION
Fields inherited from class step.core.accessors.AbstractIdentifiableObject
customFields, ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
void
setDescription
(String description) void
setEndTime
(Long endTime) void
setExecutionParameters
(ExecutionParameters executionParameters) void
setExecutionTaskID
(String executionTaskID) void
setExecutiontTaskParameters
(ExecutiontTaskParameters executiontTaskParameters) void
setExecutionType
(String executionType) void
setImportResult
(ImportResult importResult) void
setParameters
(Map<String, String> parameters) void
void
setReportExports
(List<ReportExport> reportExports) void
setResult
(ReportNodeStatus result) void
setStartTime
(Long startTime) void
setStatus
(ExecutionStatus status) toString()
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttribute, getAttributes, hasAttribute, setAttributes
Methods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
ExecutionParameters
used for this execution
-
setExecutionParameters
-
getExecutiontTaskParameters
-
setExecutiontTaskParameters
-
toString
-