Interface CommentProcessorFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory for creating CommentProcessor instances.
This functional interface allows implementations to define how comment processors should be created based on the provided context and placeholder replacer.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ProcessorContext processorContext) Creates a newCommentProcessorinstance.
-
Method Details
-
create
Creates a newCommentProcessorinstance.- Parameters:
processorContext- the context in which the processor will operate- Returns:
- a configured
CommentProcessorinstance
-