Class AbstractNodeProcessor
java.lang.Object
org.metricshub.maven.plugin.connector.parser.AbstractNodeProcessor
- Direct Known Subclasses:
ConstantsProcessor,ExtendsProcessor
Abstract base class for implementing a chain of responsibility pattern in processing JsonNodes.
Each concrete subclass represents a specific processing step in the chain.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeprocess(com.fasterxml.jackson.databind.JsonNode node) Process the providedJsonNodewith the remaining chain of processors.
-
Constructor Details
-
AbstractNodeProcessor
public AbstractNodeProcessor()
-
-
Method Details
-
process
public com.fasterxml.jackson.databind.JsonNode process(com.fasterxml.jackson.databind.JsonNode node) throws IOException Process the providedJsonNodewith the remaining chain of processors.- Parameters:
node- The JsonNode to be processed.- Returns:
- An instance of
JsonNoderepresenting the result of the processing. - Throws:
IOException- If an I/O error occurs during the processing.
-