public class StepModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
StepModel() |
StepModel(java.lang.String name,
java.util.List<Word> words) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ReportModelVisitor visitor) |
StepModel |
addWords(Word... words) |
AttachmentModel |
getAttachment() |
java.lang.String |
getCompleteSentence() |
long |
getDurationInNanos() |
java.lang.String |
getExtendedDescription() |
Word |
getLastWord() |
StepStatus |
getStatus() |
Word |
getWord(int i) |
java.lang.Iterable<Word> |
getWords() |
boolean |
hasExtendedDescription() |
boolean |
isFailed() |
boolean |
isPending() |
boolean |
isSkipped() |
void |
setAttachment(Attachment attachment) |
void |
setDurationInNanos(long durationInNanos) |
void |
setExtendedDescription(java.lang.String extendedDescription) |
void |
setStatus(StepStatus status) |
public java.lang.String name
public java.util.List<Word> words
public StepModel()
public StepModel(java.lang.String name, java.util.List<Word> words)
public void accept(ReportModelVisitor visitor)
public java.lang.String getCompleteSentence()
public boolean isPending()
public boolean isFailed()
public boolean isSkipped()
public StepStatus getStatus()
public void setStatus(StepStatus status)
public long getDurationInNanos()
public void setDurationInNanos(long durationInNanos)
public Word getWord(int i)
public java.lang.String getExtendedDescription()
public boolean hasExtendedDescription()
public void setExtendedDescription(java.lang.String extendedDescription)
public java.lang.Iterable<Word> getWords()
public Word getLastWord()
public void setAttachment(Attachment attachment)
public AttachmentModel getAttachment()