Class ProcessingMessageNoopBuilder

java.lang.Object
church.i18n.processing.message.ProcessingMessageNoopBuilder
All Implemented Interfaces:
GenericBuilder<Optional<ProcessingMessage>>, ProcessingMessageBuilder<Optional<ProcessingMessage>>, ProcessingMessageBuilderMethods<ProcessingMessageBuilder<Optional<ProcessingMessage>>>

A processing message builder that only implements interface and does not do any action on provided parameters. This is used for Validator when provided condition is not met, the building of an exception does not make sense any more. The build method returns Optional.empty() and other terminal methods has no side effects.