Java Code Examples for backtype.storm.utils.Utils.getBoolean()

The following are Jave code examples for showing how to use getBoolean() of the backtype.storm.utils.Utils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: alfresco-apache-storm-demo   File: ConfUtils.java   Source Code and License Vote up 4 votes
public static boolean getBoolean(Map<String, Object> conf, String key,
        boolean defaultValue) {
    Object obj = Utils.get(conf, key, defaultValue);
    return Utils.getBoolean(obj, defaultValue);
}