Package step.repositories.parser
Class ParsingContext
java.lang.Object
step.repositories.parser.ParsingContext
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
protected static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParsingContext
(ParsingContext parent) ParsingContext
(StepsParser stepParser, FunctionAccessor functionAccessor, PlanAccessor planAccessor, ch.exense.commons.app.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtefactToCurrentParent
(AbstractArtefact artefact) void
void
addParsingError
(String errorMsg) ch.exense.commons.app.Configuration
boolean
void
parseStep
(AbstractStep step) void
parseStep
(ParsingContext parsingContext, AbstractStep step) protected ParsingContext.StackEntry
peek()
protected ParsingContext.StackEntry
pop()
void
pushArtefact
(AbstractArtefact artefact) protected void
setCurrentStep
(AbstractStep currentStep)
-
Field Details
-
parsingErrors
-
-
Constructor Details
-
ParsingContext
public ParsingContext(StepsParser stepParser, FunctionAccessor functionAccessor, PlanAccessor planAccessor, ch.exense.commons.app.Configuration configuration) -
ParsingContext
-
-
Method Details
-
getStepParser
-
getCurrentStep
-
setCurrentStep
-
addArtefactToCurrentParent
-
addArtefactToCurrentParentAndPush
-
pushArtefact
-
pop
-
popCurrentArtefact
-
isArtefactStackEmpty
public boolean isArtefactStackEmpty() -
peek
-
peekCurrentArtefact
-
parseStep
-
parseStep
-
getFunctionAccessor
-
getPlanAccessor
-
getConfiguration
public ch.exense.commons.app.Configuration getConfiguration() -
addParsingError
-