com.tngtech.jgiven.report.model
Class StepModel

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

public class StepModel
extends Object


Field Summary
 String name
          The original name of this step as it appeared in the Java code.
 List<Word> words
          All words of this step including the introduction word.
 
Constructor Summary
StepModel()
           
StepModel(String name, List<Word> words)
           
 
Method Summary
 void accept(ReportModelVisitor visitor)
           
 StepModel addWords(Word... words)
           
 String getCompleteSentence()
           
 long getDurationInNanos()
           
 String getExtendedDescription()
           
 StepStatus getStatus()
           
 Word getWord(int i)
           
 boolean hasExtendedDescription()
           
 boolean isFailed()
           
 boolean isNotImplementedYet()
           
 boolean isSkipped()
           
 void setDurationInNanos(long durationInNanos)
           
 void setExtendedDescription(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 String name
The original name of this step as it appeared in the Java code.


words

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

Constructor Detail

StepModel

public StepModel()

StepModel

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

accept

public void accept(ReportModelVisitor visitor)

getCompleteSentence

public 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 String getExtendedDescription()

hasExtendedDescription

public boolean hasExtendedDescription()

setExtendedDescription

public void setExtendedDescription(String extendedDescription)


Copyright © 2014 TNG Technology Consulting. All rights reserved.