org.apache.flume.conf
Class Configurables
java.lang.Object
   org.apache.flume.conf.Configurables
org.apache.flume.conf.Configurables
- public class Configurables 
- extends Object
Methods for working with Configurables.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Configurables
public Configurables()
configure
public static boolean configure(Object target,
                                Context context)
- Check that targetimplementsConfigurableand, if so, ask
 it to configure itself using the suppliedcontext.
 
- 
- Parameters:
- target- An object that potentially implements Configurable.
- context- The configuration context
- Returns:
- true if targetimplements Configurable, false otherwise.
 
configure
public static boolean configure(Object target,
                                ComponentConfiguration conf)
- 
 
ensureRequiredNonNull
public static void ensureRequiredNonNull(Context context,
                                         String... keys)
- 
 
ensureOptionalNonNull
public static void ensureOptionalNonNull(Context context,
                                         String... keys)
- 
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.