Package com.tngtech.jgiven.report.model
Class StepModel
java.lang.Object
com.tngtech.jgiven.report.model.StepModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ReportModelVisitor visitor) voidaddAttachment(Attachment attachment) voidaddIntroWord(Word introWord) voidaddNestedStep(StepModel stepModel) intgetDepth()longgetName()getWord(int i) getWords()booleanbooleanbooleanbooleanisFailed()booleanbooleanbooleanvoidsetComment(String comment) voidsetDepth(int depth) voidsetDurationInNanos(long durationInNanos) voidsetExtendedDescription(String extendedDescription) voidsetIsSectionTitle(boolean isSectionTitle) voidvoidsetNestedSteps(List<StepModel> nestedSteps) voidsetParentFailed(boolean parentFailed) voidsetStatus(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)
-