Class AbstractArtefact

java.lang.Object
step.core.accessors.AbstractIdentifiableObject
step.core.accessors.AbstractOrganizableObject
step.core.artefacts.AbstractArtefact
Direct Known Subclasses:
AbstractForBlock, Assert, CallPlan, Case, Check, CheckArtefact, Echo, Export, Failure, IfBlock, Placeholder, RetryIfFails, Return, Script, Sequence, Set, Sleep, StreamingArtefact, Switch, TestCase, TestScenario, TestSet, ThreadGroup, ThreadGroupHandler.Thread, TokenSelector, While

public abstract class AbstractArtefact extends step.core.accessors.AbstractOrganizableObject
  • Field Details

    • dynamicName

      protected DynamicValue<String> dynamicName
    • useDynamicName

      protected boolean useDynamicName
    • description

      protected String description
    • children

      protected List<AbstractArtefact> children
    • customAttributes

      protected Map<String,Object> customAttributes
    • attachments

      protected List<org.bson.types.ObjectId> attachments
  • Constructor Details

    • AbstractArtefact

      public AbstractArtefact()
  • Method Details

    • getArtefactName

      public static String getArtefactName(Class<? extends AbstractArtefact> artefactClass)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getChildren

      public List<AbstractArtefact> getChildren()
    • setChildren

      public void setChildren(List<AbstractArtefact> children)
    • addChild

      public boolean addChild(AbstractArtefact e)
    • getCustomAttributes

      public Map<String,Object> getCustomAttributes()
    • setCustomAttributes

      public void setCustomAttributes(Map<String,Object> customAttributes)
    • getCustomAttribute

      public Object getCustomAttribute(String key)
    • addCustomAttribute

      public void addCustomAttribute(String key, Object value)
    • addAttachment

      public void addAttachment(org.bson.types.ObjectId attachmentId)
    • setAttachments

      public void setAttachments(List<org.bson.types.ObjectId> attachments)
    • getAttachments

      public List<org.bson.types.ObjectId> getAttachments()
    • isCreateSkeleton

      public boolean isCreateSkeleton()
    • isPropertyArefact

      public boolean isPropertyArefact()
      Property artefacts are special artefacts that are directly attached to their parent artefact. Property artefacts are not subject to transclusion and remain attached to their parent. They are executed in 2 phases.
    • During the first phase the method ArtafactHandler.initProperties is called for each property artefacts before their parent artefact is executed.
    • The second phase starts after execution of the parent artefact. During the second phase all the property artefact are executed (ArtafactHandler.execute_)
    • Returns:
      true if this artefact is a property artefact
    • isPersistNode

      @Deprecated public boolean isPersistNode()
      Deprecated.
      This field has been deprecated and isn't used anymore. The getter and setter have been kept in the model to avoid deserialization issues TODO implement a migration task and remove the getter and setter
      Returns:
    • setPersistNode

      @Deprecated public void setPersistNode(boolean persistNode)
      Deprecated.
      This field has been deprecated and isn't used anymore. The setter has been kept in the model to avoid deserialization issues
      Parameters:
      persistNode -
    • getSkipNode

      public DynamicValue<Boolean> getSkipNode()
    • setSkipNode

      public void setSkipNode(DynamicValue<Boolean> skipNode)
    • getDynamicName

      public DynamicValue<String> getDynamicName()
    • setDynamicName

      public void setDynamicName(DynamicValue<String> dynamicName)
    • isUseDynamicName

      public boolean isUseDynamicName()
    • setUseDynamicName

      public void setUseDynamicName(boolean useDynamicName)
    • setNameDynamically

      public void setNameDynamically()
    • deepCleanupAllCustomAttributes

      public void deepCleanupAllCustomAttributes()
    • getInstrumentNode

      public DynamicValue<Boolean> getInstrumentNode()
    • setInstrumentNode

      public void setInstrumentNode(DynamicValue<Boolean> instrumentNode)
    • getContinueParentNodeExecutionOnError

      public DynamicValue<Boolean> getContinueParentNodeExecutionOnError()
    • setContinueParentNodeExecutionOnError

      public void setContinueParentNodeExecutionOnError(DynamicValue<Boolean> continueOnError)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class step.core.accessors.AbstractIdentifiableObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class step.core.accessors.AbstractIdentifiableObject