Class AbstractNodeProcessor
java.lang.Object
org.sentrysoftware.maven.metricshub.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
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
process
(com.fasterxml.jackson.databind.JsonNode node) Process the providedJsonNode
with 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 providedJsonNode
with the remaining chain of processors.- Parameters:
node
- The JsonNode to be processed.- Returns:
- An instance of
JsonNode
representing the result of the processing. - Throws:
IOException
- If an I/O error occurs during the processing.
-