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
-
-
Constructor Summary
Constructors Constructor Description Execution()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
getStartTime
public long getStartTime()
- Returns:
- the start time of the execution in epoch format
-
setStartTime
public void setStartTime(Long startTime)
-
getEndTime
public Long getEndTime()
- Returns:
- the end time of the execution in epoch format
-
setEndTime
public void setEndTime(Long endTime)
-
getDescription
public String getDescription()
- Returns:
- the plain text description of the description as displayed in the column "Description" of the execution table
-
setDescription
public void setDescription(String description)
-
getResult
public ReportNodeStatus getResult()
- Returns:
- the result (overall status) of the execution as displayed in the column "Result" of the execution table
-
setResult
public void setResult(ReportNodeStatus result)
-
getStatus
public ExecutionStatus getStatus()
- Returns:
- the current status of the execution as displayed in the column "Status" of the execution tbale
-
setStatus
public void setStatus(ExecutionStatus status)
-
setPlanId
public void setPlanId(String planId)
-
getImportResult
public ImportResult getImportResult()
- Returns:
- the result of the import phase from the external repository (ALM, Jira, etc)
-
setImportResult
public void setImportResult(ImportResult importResult)
-
getReportExports
public List<ReportExport> getReportExports()
- Returns:
- the result of export of the results to the external repository (ALM, Jira, etc)
-
setReportExports
public void setReportExports(List<ReportExport> reportExports)
-
getExecutionTaskID
public String getExecutionTaskID()
- Returns:
- the ID of the scheduler task (if any) this execution has been triggered from
-
setExecutionTaskID
public void setExecutionTaskID(String executionTaskID)
-
getExecutionType
public String getExecutionType()
- Returns:
- the type of execution ("Default", "TestSet")
-
setExecutionType
public void setExecutionType(String executionType)
-
getParameters
public Map<String,String> getParameters()
- Returns:
- the list of parameters used by this execution as displayed in the tab "Execution parameters" of the Execution view
-
getExecutionParameters
public ExecutionParameters getExecutionParameters()
- Returns:
- the
ExecutionParameters
used for this execution
-
setExecutionParameters
public void setExecutionParameters(ExecutionParameters executionParameters)
-
getExecutiontTaskParameters
public ExecutiontTaskParameters getExecutiontTaskParameters()
-
setExecutiontTaskParameters
public void setExecutiontTaskParameters(ExecutiontTaskParameters executiontTaskParameters)
-
-