public static PipelineConfiguration . Builder parse ( ModelNode json ) { ModelNode analyzerIncludeNode = json . get ( "analyzers" ) . get ( "include" ) ; ModelNode analyzerExcludeNode = json . get ( "analyzers" ) . get ( "exclude" ) ; ModelNode filterIncludeNode = json . get ( "filters" ) . get ( "include" ) ; ModelNode filterExcludeNode = json . get ( "filters" ) . get ( "exclude" ) ; ModelNode transformIncludeNode = json . get ( "transforms" ) . get ( "include" ) ; ModelNode transformExcludeNode = json . get ( "transforms" ) . get ( "exclude" ) ; ModelNode reporterIncludeNode = json . get ( "reporters" ) . get ( "include" ) ; ModelNode reporterExcludeNode = json . get ( "reporters" ) . get ( "exclude" ) ; return builder ( ) . withTransformationBlocks ( json . get ( "transformBlocks" ) ) . withAnalyzerExtensionIdsInclude ( asStringList ( analyzerIncludeNode ) ) . withAnalyzerExtensionIdsExclude ( asStringList ( analyzerExcludeNode ) ) . withFilterExtensionIdsInclude ( asStringList ( filterIncludeNode ) ) . withFilterExtensionIdsExclude ( asStringList ( filterExcludeNode ) ) . withTransformExtensionIdsInclude ( asStringList ( transformIncludeNode ) ) . withTransformExtensionIdsExclude ( asStringList ( transformExcludeNode ) ) . withReporterExtensionIdsInclude ( asStringList ( reporterIncludeNode ) ) . withReporterExtensionIdsExclude ( asStringList ( reporterExcludeNode ) ) ; }
Parses the configuration node and provides a pipeline configuration without any extensions marked for loading . The configuration node is supposed to conform to the pipeline configuration JSON schema .