Package com.tngtech.jgiven.report.model
Class StepModel
java.lang.Object
com.tngtech.jgiven.report.model.StepModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ReportModelVisitor visitor) void
addAttachment
(Attachment attachment) void
addIntroWord
(Word introWord) void
addNestedStep
(StepModel stepModel) int
getDepth()
long
getName()
getWord
(int i) getWords()
boolean
boolean
boolean
boolean
isFailed()
boolean
boolean
boolean
void
setComment
(String comment) void
setDepth
(int depth) void
setDurationInNanos
(long durationInNanos) void
setExtendedDescription
(String extendedDescription) void
setIsSectionTitle
(boolean isSectionTitle) void
void
setNestedSteps
(List<StepModel> nestedSteps) void
setParentFailed
(boolean parentFailed) void
setStatus
(StepStatus status) void
-
Constructor Details
-
StepModel
public StepModel() -
StepModel
-
-
Method Details
-
accept
-
getCompleteSentence
-
addWords
-
isPending
public boolean isPending() -
isFailed
public boolean isFailed() -
isSkipped
public boolean isSkipped() -
getStatus
-
setStatus
-
getDurationInNanos
public long getDurationInNanos() -
setDurationInNanos
public void setDurationInNanos(long durationInNanos) -
getWord
-
getExtendedDescription
-
hasExtendedDescription
public boolean hasExtendedDescription() -
setExtendedDescription
-
getComment
-
setComment
-
getWords
-
getLastWord
-
addAttachment
-
getAttachments
-
addNestedStep
-
getNestedSteps
-
setNestedSteps
-
isSectionTitle
-
setIsSectionTitle
public void setIsSectionTitle(boolean isSectionTitle) -
getName
-
setName
-
setWords
-
addIntroWord
-
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)
-