Class JSONParser
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.parser.JSONParser
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Parser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.fge.jsonschema.core.tree.JsonTree
groovy.lang.MetaClass
getProperty
(String property) org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
invokeMethod
(String method, Object arguments) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef
parse()
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef
parse
(com.github.fge.jsonschema.core.tree.JsonTree json) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent
parseAgent
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTArgumentList
parseArgumentList
(com.github.fge.jsonschema.core.tree.JsonTree o) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxisContainer
parseAxes
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxis
parseAxis
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch
parseBranch
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition
parseBuildCondition
(com.github.fge.jsonschema.core.tree.JsonTree j) <R extends org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer>
RparseBuildConditionResponder
(com.github.fge.jsonschema.core.tree.JsonTree j, R responder) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters
parseBuildParameters
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTClosureMap
parseClosureMap
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment
parseEnvironment
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExclude
parseExclude
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludeAxis
parseExcludeAxis
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludes
parseExcludes
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput
parseInput
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTInternalFunctionCall
parseInternalFunctionCall
(com.github.fge.jsonschema.core.tree.JsonTree o) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey
parseKey
(com.github.fge.jsonschema.core.tree.JsonTree o) parseKeyValueOrMethodCallPair
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries
parseLibraries
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix
parseMatrix
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall
parseMethodCall
(com.github.fge.jsonschema.core.tree.JsonTree o) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions
parseOptions
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTParallel
parseParallel
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild
parsePostBuild
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage
parsePostStage
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTScriptBlock
parseScriptBlock
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage
parseStage
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase
parseStageBase
(com.github.fge.jsonschema.core.tree.JsonTree j, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages
parseStages
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep
parseStep
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools
parseTools
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTreeStep
parseTreeStep
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers
parseTriggers
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue
parseValue
(com.github.fge.jsonschema.core.tree.JsonTree o) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen
parseWhen
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenContent
parseWhenContent
(com.github.fge.jsonschema.core.tree.JsonTree j) org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenExpression
parseWhenExpression
(com.github.fge.jsonschema.core.tree.JsonTree j) void
setErrorCollector
(ErrorCollector value) void
setJsonTree
(com.github.fge.jsonschema.core.tree.JsonTree value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) void
setValidator
(org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator value)
-
Constructor Details
-
JSONParser
public JSONParser(com.github.fge.jsonschema.core.tree.JsonTree tree)
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getErrorCollector
-
setErrorCollector
-
getValidator
public org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator getValidator() -
setValidator
public void setValidator(org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator value) -
getJsonTree
public com.github.fge.jsonschema.core.tree.JsonTree getJsonTree() -
setJsonTree
public void setJsonTree(com.github.fge.jsonschema.core.tree.JsonTree value) -
parse
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef parse() -
parse
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef parse(com.github.fge.jsonschema.core.tree.JsonTree json) -
parseStages
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages parseStages(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseParallel
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTParallel parseParallel(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseMatrix
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix parseMatrix(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseAxes
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxisContainer parseAxes(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseAxis
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxis parseAxis(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseExcludes
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludes parseExcludes(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseExclude
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExclude parseExclude(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseExcludeAxis
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludeAxis parseExcludeAxis(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseStage
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage parseStage(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseStageBase
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase parseStageBase(com.github.fge.jsonschema.core.tree.JsonTree j, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage) -
parseInput
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput parseInput(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseBranch
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch parseBranch(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseWhen
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen parseWhen(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseLibraries
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries parseLibraries(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseOptions
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions parseOptions(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseTriggers
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers parseTriggers(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseBuildParameters
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters parseBuildParameters(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseKeyValueOrMethodCallPair
@CheckForNull public Object parseKeyValueOrMethodCallPair(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseMethodCall
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall parseMethodCall(com.github.fge.jsonschema.core.tree.JsonTree o) -
parseInternalFunctionCall
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTInternalFunctionCall parseInternalFunctionCall(com.github.fge.jsonschema.core.tree.JsonTree o) -
parseStep
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep parseStep(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseWhenContent
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenContent parseWhenContent(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseArgumentList
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTArgumentList parseArgumentList(com.github.fge.jsonschema.core.tree.JsonTree o) -
parseKey
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey parseKey(com.github.fge.jsonschema.core.tree.JsonTree o) -
parseValue
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue parseValue(com.github.fge.jsonschema.core.tree.JsonTree o) -
parseScriptBlock
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTScriptBlock parseScriptBlock(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseWhenExpression
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenExpression parseWhenExpression(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseTreeStep
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTreeStep parseTreeStep(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseBuildCondition
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition parseBuildCondition(com.github.fge.jsonschema.core.tree.JsonTree j) -
parsePostBuild
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild parsePostBuild(com.github.fge.jsonschema.core.tree.JsonTree j) -
parsePostStage
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage parsePostStage(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseBuildConditionResponder
@NonNull public <R extends org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer> R parseBuildConditionResponder(com.github.fge.jsonschema.core.tree.JsonTree j, R responder) -
parseEnvironment
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment parseEnvironment(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseTools
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools parseTools(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseClosureMap
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTClosureMap parseClosureMap(com.github.fge.jsonschema.core.tree.JsonTree j) -
parseAgent
@CheckForNull public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent parseAgent(com.github.fge.jsonschema.core.tree.JsonTree j)
-