Class StepModel

java.lang.Object
com.tngtech.jgiven.report.model.StepModel

public class StepModel extends Object
  • Constructor Details

    • StepModel

      public StepModel()
    • StepModel

      public StepModel(String name, List<Word> words)
  • Method Details

    • accept

      public void accept(ReportModelVisitor visitor)
    • getCompleteSentence

      public String getCompleteSentence()
    • addWords

      public StepModel addWords(Word... words)
    • isPending

      public boolean isPending()
    • isFailed

      public boolean isFailed()
    • isSkipped

      public boolean isSkipped()
    • getStatus

      public StepStatus getStatus()
    • setStatus

      public void setStatus(StepStatus status)
    • getDurationInNanos

      public long getDurationInNanos()
    • setDurationInNanos

      public void setDurationInNanos(long durationInNanos)
    • getWord

      public Word getWord(int i)
    • getExtendedDescription

      public String getExtendedDescription()
    • hasExtendedDescription

      public boolean hasExtendedDescription()
    • setExtendedDescription

      public void setExtendedDescription(String extendedDescription)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getWords

      public List<Word> getWords()
    • getLastWord

      public Word getLastWord()
    • addAttachment

      public void addAttachment(Attachment attachment)
    • getAttachments

      public List<AttachmentModel> getAttachments()
    • addNestedStep

      public void addNestedStep(StepModel stepModel)
    • getNestedSteps

      public List<StepModel> getNestedSteps()
    • setNestedSteps

      public void setNestedSteps(List<StepModel> nestedSteps)
    • isSectionTitle

      public Boolean isSectionTitle()
    • setIsSectionTitle

      public void setIsSectionTitle(boolean isSectionTitle)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setWords

      public void setWords(List<Word> words)
    • addIntroWord

      public void addIntroWord(Word introWord)
    • hasInlineAttachment

      public boolean hasInlineAttachment()
    • hasAttachment

      public boolean hasAttachment()
    • getDepth

      public int getDepth()
    • setDepth

      public void setDepth(int depth)
    • isParentFailed

      public boolean isParentFailed()
    • setParentFailed

      public void setParentFailed(boolean parentFailed)