public class SpecExample extends Object
| Modifier and Type | Field and Description |
|---|---|
static SpecExample |
NULL |
| Constructor and Description |
|---|
SpecExample(String optionsSet,
String section,
int exampleNumber,
String source,
String html) |
SpecExample(String optionsSet,
String section,
int exampleNumber,
String source,
String html,
String ast) |
SpecExample(String optionsSet,
String section,
int exampleNumber,
String source,
String html,
String ast,
String comment,
UrlString fileUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAst() |
String |
getComment() |
int |
getExampleNumber() |
UrlString |
getFileUrl() |
String |
getHtml() |
String |
getOptionsSet() |
String |
getSection() |
String |
getSource() |
boolean |
hasComment() |
boolean |
isFullSpecExample() |
boolean |
isNotNull() |
boolean |
isNull() |
boolean |
isSpecExample() |
String |
toString() |
SpecExample |
withAst(String ast) |
SpecExample |
withExampleNumber(int exampleNumber) |
SpecExample |
withFileUrl(String fileUrl) |
SpecExample |
withFileUrl(UrlString fileUrl) |
SpecExample |
withHtml(String html) |
SpecExample |
withOptionsSet(String optionsSet) |
SpecExample |
withSection(String section) |
SpecExample |
withSource(String source) |
public static final SpecExample NULL
public SpecExample(String optionsSet, String section, int exampleNumber, String source, String html)
public SpecExample(String optionsSet, String section, int exampleNumber, String source, String html, String ast)
public SpecExample withOptionsSet(String optionsSet)
public SpecExample withSection(String section)
public SpecExample withExampleNumber(int exampleNumber)
public SpecExample withSource(String source)
public SpecExample withHtml(String html)
public SpecExample withAst(String ast)
public SpecExample withFileUrl(UrlString fileUrl)
public SpecExample withFileUrl(String fileUrl)
public boolean isFullSpecExample()
public boolean isNull()
public boolean isSpecExample()
public boolean isNotNull()
public String getOptionsSet()
public UrlString getFileUrl()
public String getSource()
public String getHtml()
public String getAst()
public String getSection()
public int getExampleNumber()
public String getComment()
public boolean hasComment()
Copyright © 2019. All rights reserved.