org.apache.flume.tools
Interface EventValidator


public interface EventValidator

Event Validator interface to be used for validating Events per custom logic


Nested Class Summary
static interface EventValidator.Builder
           
 
Field Summary
static EventValidator NOOP_VALIDATOR
           
 
Method Summary
 boolean validateEvent(Event event)
          Validate the Event in a application specific manner
 

Field Detail

NOOP_VALIDATOR

static final EventValidator NOOP_VALIDATOR
Method Detail

validateEvent

boolean validateEvent(Event event)
Validate the Event in a application specific manner

Parameters:
event - Flume Event
Returns:
true if Event is valid as per App Logic


Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.