public static String getTemplateEngineDirConfig(String value,
                                                    String engine,
                                                    FeatureContext context,
                                                    Map<String, String> tempConf) {
        if (StringUtils.isBlank(value)) {
            value = tempConf.get(TPL_ENGINE_DIR_PR + engine);
        }

        if (StringUtils.isBlank(value)) {
            value = (String) context.getConfiguration().getProperty(TPL_ENGINE_DIR_PR + engine);
        }

        if (StringUtils.isBlank(value)) {
            value = (String) context.getConfiguration().getProperty(TPL_DIR);
        }
        return value;
    }
public static String getTemplateEngineDirConfig ( String value , String engine , FeatureContext context , Map < String , String > tempConf ) { if ( StringUtils . isBlank ( value ) ) { value = tempConf . get ( TPL_ENGINE_DIR_PR + engine ) ; } if ( StringUtils . isBlank ( value ) ) { value = ( String ) context . getConfiguration ( ) . getProperty ( TPL_ENGINE_DIR_PR + engine ) ; } if ( StringUtils . isBlank ( value ) ) { value = ( String ) context . getConfiguration ( ) . getProperty ( TPL_DIR ) ; } return value ; }
<p>getTemplateEngineDirConfig.</p>

@param value a {@link java.lang.String} object.
@param engine a {@link java.lang.String} object.
@param context a {@link javax.ws.rs.core.FeatureContext} object.
@param tempConf a {@link java.util.Map} object.
@return a {@link java.lang.String} object.