Package step.core.artefacts.reports
Class ReportNode
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.core.artefacts.reports.ReportNode
-
- Direct Known Subclasses:
AssertReportNode
,CallFunctionReportNode
,CheckReportNode
,EchoReportNode
,ForBlockReportNode
,IfBlockReportNode
,RetryIfFailsReportNode
,SetReportNode
,SleepReportNode
,TestCaseReportNode
,WhileReportNode
public class ReportNode extends AbstractIdentifiableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bson.types.ObjectId
artefactID
protected AbstractArtefact
artefactInstance
protected List<AttachmentMeta>
attachments
protected Map<String,String>
customAttributes
protected Integer
duration
protected step.core.reports.Error
error
protected String
executionID
protected long
executionTime
protected boolean
isOrphan
protected String
name
protected org.bson.types.ObjectId
parentID
protected AbstractArtefact
resolvedArtefact
protected ReportNodeStatus
status
-
Fields inherited from class step.core.accessors.AbstractIdentifiableObject
_id, customFields
-
-
Constructor Summary
Constructors Constructor Description ReportNode()
-
Method Summary
-
Methods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setId
-
-
-
-
Field Detail
-
parentID
protected org.bson.types.ObjectId parentID
-
name
protected String name
-
executionID
protected String executionID
-
artefactID
protected org.bson.types.ObjectId artefactID
-
executionTime
protected long executionTime
-
duration
protected Integer duration
-
attachments
protected List<AttachmentMeta> attachments
-
status
protected ReportNodeStatus status
-
error
protected step.core.reports.Error error
-
artefactInstance
protected AbstractArtefact artefactInstance
-
isOrphan
protected boolean isOrphan
-
resolvedArtefact
protected AbstractArtefact resolvedArtefact
-
-
Method Detail
-
getParentID
public org.bson.types.ObjectId getParentID()
-
setParentID
public void setParentID(org.bson.types.ObjectId parentID)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getExecutionID
public String getExecutionID()
-
setExecutionID
public void setExecutionID(String executionID)
-
getArtefactID
public org.bson.types.ObjectId getArtefactID()
-
setArtefactID
public void setArtefactID(org.bson.types.ObjectId artefactID)
-
getExecutionTime
public long getExecutionTime()
-
setExecutionTime
public void setExecutionTime(long executionTime)
-
getDuration
public Integer getDuration()
-
setDuration
public void setDuration(Integer duration)
-
getAttachments
public List<AttachmentMeta> getAttachments()
-
setAttachments
public void setAttachments(List<AttachmentMeta> attachments)
-
getStatus
public ReportNodeStatus getStatus()
-
setStatus
public void setStatus(ReportNodeStatus status)
-
getError
public step.core.reports.Error getError()
-
setError
public void setError(step.core.reports.Error error)
-
getResolvedArtefact
public AbstractArtefact getResolvedArtefact()
-
setResolvedArtefact
public void setResolvedArtefact(AbstractArtefact resolvedArtefact)
-
persistNode
public boolean persistNode()
-
setError
public void setError(String errorMessage, int errorCode, boolean isRoot)
-
addError
public void addError(String error)
-
addAttachment
public void addAttachment(AttachmentMeta attachment)
-
getArtefactInstance
public AbstractArtefact getArtefactInstance()
-
setArtefactInstance
public void setArtefactInstance(AbstractArtefact artefactInstance)
-
isOrphan
public boolean isOrphan()
-
setOrphan
public void setOrphan(boolean orphan)
-
-