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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.Long
getEndTime()
ExecutionParameters
getExecutionParameters()
java.lang.String
getExecutionTaskID()
ExecutiontTaskParameters
getExecutiontTaskParameters()
java.lang.String
getExecutionType()
ImportResult
getImportResult()
java.util.Map<java.lang.String,java.lang.String>
getParameters()
java.lang.String
getPlanId()
java.util.List<ReportExport>
getReportExports()
ReportNodeStatus
getResult()
long
getStartTime()
ExecutionStatus
getStatus()
void
setDescription(java.lang.String description)
void
setEndTime(java.lang.Long endTime)
void
setExecutionParameters(ExecutionParameters executionParameters)
void
setExecutionTaskID(java.lang.String executionTaskID)
void
setExecutiontTaskParameters(ExecutiontTaskParameters executiontTaskParameters)
void
setExecutionType(java.lang.String executionType)
void
setImportResult(ImportResult importResult)
void
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
void
setPlanId(java.lang.String planId)
void
setReportExports(java.util.List<ReportExport> reportExports)
void
setResult(ReportNodeStatus result)
void
setStartTime(java.lang.Long startTime)
void
setStatus(ExecutionStatus status)
java.lang.String
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
-
-
-
-
Method Detail
-
getStartTime
public long getStartTime()
- Returns:
- the start time of the execution in epoch format
-
setStartTime
public void setStartTime(java.lang.Long startTime)
-
getEndTime
public java.lang.Long getEndTime()
- Returns:
- the end time of the execution in epoch format
-
setEndTime
public void setEndTime(java.lang.Long endTime)
-
getDescription
public java.lang.String getDescription()
- Returns:
- the plain text description of the description as displayed in the column "Description" of the execution table
-
setDescription
public void setDescription(java.lang.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)
-
getPlanId
public java.lang.String getPlanId()
- Returns:
- the ID of the executed
Plan
-
setPlanId
public void setPlanId(java.lang.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 java.util.List<ReportExport> getReportExports()
- Returns:
- the result of export of the results to the external repository (ALM, Jira, etc)
-
setReportExports
public void setReportExports(java.util.List<ReportExport> reportExports)
-
getExecutionTaskID
public java.lang.String getExecutionTaskID()
- Returns:
- the ID of the scheduler task (if any) this execution has been triggered from
-
setExecutionTaskID
public void setExecutionTaskID(java.lang.String executionTaskID)
-
getExecutionType
public java.lang.String getExecutionType()
- Returns:
- the type of execution ("Default", "TestSet")
-
setExecutionType
public void setExecutionType(java.lang.String executionType)
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Returns:
- the list of parameters used by this execution as displayed in the tab "Execution parameters" of the Execution view
-
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
-
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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-