org.tap4j.parser
Class Memento
java.lang.Object
org.tap4j.parser.Memento
public class Memento
- extends Object
Memento for parsers. Stores information about a parser in certain moment
of the parsing method.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Memento
public Memento()
isFirstLine
public boolean isFirstLine()
- Returns:
- if is first line
setFirstLine
public void setFirstLine(boolean firstLine)
- Parameters:
is
- first line value
isPlanBeforeTestResult
public boolean isPlanBeforeTestResult()
- Returns:
- the planBeforeTestResult
setPlanBeforeTestResult
public void setPlanBeforeTestResult(boolean planBeforeTestResult)
- Parameters:
planBeforeTestResult
- the planBeforeTestResult to set
getLastLine
public String getLastLine()
- Returns:
- the lastLine
setLastLine
public void setLastLine(String lastLine)
- Parameters:
lastLine
- the lastLine to set
getLastParsedElement
public TapElement getLastParsedElement()
- Returns:
- the lastParsedElement
setLastParsedElement
public void setLastParsedElement(TapElement lastParsedElement)
- Parameters:
lastParsedElement
- the lastParsedElement to set
getBaseIndentationLevel
public int getBaseIndentationLevel()
- Returns:
- the baseIndentationLevel
setBaseIndentationLevel
public void setBaseIndentationLevel(int baseIndentationLevel)
- Parameters:
baseIndentationLevel
- the baseIndentationLevel to set
getCurrentIndentationLevel
public int getCurrentIndentationLevel()
- Returns:
- the currentIndentationLevel
setCurrentIndentationLevel
public void setCurrentIndentationLevel(int currentIndentationLevel)
- Parameters:
currentIndentationLevel
- the currentIndentationLevel to set
isCurrentlyInYaml
public boolean isCurrentlyInYaml()
- Returns:
- the currentlyInYaml
setCurrentlyInYaml
public void setCurrentlyInYaml(boolean currentlyInYaml)
- Parameters:
currentlyInYaml
- the currentlyInYaml to set
isCurrentlyInSubtest
public boolean isCurrentlyInSubtest()
- Returns:
- the currentlyInSubtest
setCurrentlyInSubtest
public void setCurrentlyInSubtest(boolean currentlyInSubtest)
- Parameters:
currentlyInSubtest
- the currentlyInSubtest to set
getDiagnosticBuffer
public StringBuilder getDiagnosticBuffer()
- Returns:
- the diagnosticBuffer
setDiagnosticBuffer
public void setDiagnosticBuffer(StringBuilder diagnosticBuffer)
- Parameters:
diagnosticBuffer
- the diagnosticBuffer to set
getTestSet
public TestSet getTestSet()
- Returns:
- the testSet
setTestSet
public void setTestSet(TestSet testSet)
- Parameters:
testSet
- the testSet to set
Copyright © 2010-2012 TupiLabs. All Rights Reserved.