Package step.core.execution.model
Class Execution
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.core.accessors.AbstractOrganizableObject
-
- step.core.execution.model.Execution
-
public class Execution extends step.core.accessors.AbstractOrganizableObject
-
-
Constructor Summary
Constructors Constructor Description Execution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()LonggetEndTime()ExecutionParametersgetExecutionParameters()StringgetExecutionTaskID()StringgetExecutionType()ImportResultgetImportResult()Map<String,String>getParameters()StringgetPlanId()List<ReportExport>getReportExports()ReportNodeStatusgetResult()longgetStartTime()ExecutionStatusgetStatus()voidsetDescription(String description)voidsetEndTime(long endTime)voidsetExecutionParameters(ExecutionParameters executionParameters)voidsetExecutionTaskID(String executionTaskID)voidsetExecutionType(String executionType)voidsetImportResult(ImportResult importResult)voidsetParameters(Map<String,String> parameters)voidsetPlanId(String planId)voidsetReportExports(List<ReportExport> reportExports)voidsetResult(ReportNodeStatus result)voidsetStartTime(Long startTime)voidsetStatus(ExecutionStatus status)StringtoString()-
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, 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
ExecutionParametersused for this execution
-
setExecutionParameters
public void setExecutionParameters(ExecutionParameters executionParameters)
-
-