org.apache.flume.interceptor
Class StaticInterceptor.Builder
java.lang.Object
org.apache.flume.interceptor.StaticInterceptor.Builder
- All Implemented Interfaces:
- Configurable, Interceptor.Builder
- Enclosing class:
- StaticInterceptor
public static class StaticInterceptor.Builder
- extends Object
- implements Interceptor.Builder
Builder which builds new instance of the StaticInterceptor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticInterceptor.Builder
public StaticInterceptor.Builder()
configure
public void configure(Context context)
- Description copied from interface:
Configurable
Request the implementing class to (re)configure itself.
When configuration parameters are changed, they must be
reflected by the component asap.
There are no thread safety guarrantees on when configure might be called.
- Specified by:
configure
in interface Configurable
build
public Interceptor build()
- Specified by:
build
in interface Interceptor.Builder
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.