Class MqttSubscribeOutputValidator

  • All Implemented Interfaces:
    Validator

    public final class MqttSubscribeOutputValidator
    extends AbstractValidator
    Validates subscribe operation output.
    • Subscribe operations must use an event stream.
    • Subscribe operations must not have initial events.
    • Subscribe operations should not use eventHeader traits.
    • Constructor Detail

      • MqttSubscribeOutputValidator

        public MqttSubscribeOutputValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.