com.tngtech.jgiven.report.model
Class StepModel

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

public class StepModel
extends java.lang.Object


Field Summary
 java.lang.String name
          The original name of this step as it appeared in the Java code.
 java.util.List<Word> words
          All words of this step including the introduction word.
 
Constructor Summary
StepModel()
           
StepModel(java.lang.String name, java.util.List<Word> words)
           
 
Method Summary
 void accept(ReportModelVisitor visitor)
           
 StepModel addWords(Word... words)
           
 java.lang.String getCompleteSentence()
           
 long getDurationInNanos()
           
 java.lang.String getExtendedDescription()
           
 StepStatus getStatus()
           
 Word getWord(int i)
           
 boolean hasExtendedDescription()
           
 boolean isFailed()
           
 boolean isNotImplementedYet()
           
 boolean isSkipped()
           
 void setDurationInNanos(long durationInNanos)
           
 void setExtendedDescription(java.lang.String extendedDescription)
           
 void setStatus(StepStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The original name of this step as it appeared in the Java code.


words

public java.util.List<Word> words
All words of this step including the introduction word.

Constructor Detail

StepModel

public StepModel()

StepModel

public StepModel(java.lang.String name,
                 java.util.List<Word> words)
Method Detail

accept

public void accept(ReportModelVisitor visitor)

getCompleteSentence

public java.lang.String getCompleteSentence()

addWords

public StepModel addWords(Word... words)

isNotImplementedYet

public boolean isNotImplementedYet()

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 java.lang.String getExtendedDescription()

hasExtendedDescription

public boolean hasExtendedDescription()

setExtendedDescription

public void setExtendedDescription(java.lang.String extendedDescription)