Module org.github.gestalt.core
Interface PostProcessor
-
- All Known Implementing Classes:
TransformerPostProcessor
public interface PostProcessorInterface for the Post Processing of Config nodes. This will be run against every node in the tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidapplyConfig(PostProcessorConfig config)Apply the PostProcessorConfig to the Post Processor.GResultOf<ConfigNode>process(java.lang.String path, ConfigNode currentNode)run the post process the current node.
-
-
-
Method Detail
-
process
GResultOf<ConfigNode> process(java.lang.String path, ConfigNode currentNode)
run the post process the current node.- Parameters:
path- current pathcurrentNode- current node to post process.- Returns:
- the node after running though the post processor.
-
applyConfig
default void applyConfig(PostProcessorConfig config)
Apply the PostProcessorConfig to the Post Processor. Needed when building via the ServiceLoader It is a default method as most Post Processor don't need to apply configs.- Parameters:
config- GestaltConfig to update the Post Processor
-
-