com.tngtech.jgiven.report.model
Class StepModel
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
StepModel
public StepModel()
StepModel
public StepModel(java.lang.String name,
java.util.List<Word> words)
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)