org.apache.accumulo.core.conf
Class ConfigSanityCheck

java.lang.Object
  extended by org.apache.accumulo.core.conf.ConfigSanityCheck

public class ConfigSanityCheck
extends Object

A utility class for checking over configuration entries.


Nested Class Summary
static class ConfigSanityCheck.SanityCheckException
          The exception thrown when validate(Iterable) fails.
 
Constructor Summary
ConfigSanityCheck()
           
 
Method Summary
static void validate(Iterable<Map.Entry<String,String>> entries)
          Validates the given configuration entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigSanityCheck

public ConfigSanityCheck()
Method Detail

validate

public static void validate(Iterable<Map.Entry<String,String>> entries)
Validates the given configuration entries.

Parameters:
entries - iterable through configuration keys and values
Throws:
ConfigSanityCheck.SanityCheckException - if a fatal configuration error is found


Copyright © 2015 Apache Accumulo Project. All rights reserved.