org.apache.oozie.util
Class ELUtils

java.lang.Object
  extended by org.apache.oozie.util.ELUtils

public class ELUtils
extends Object

EL utilities


Constructor Summary
ELUtils()
           
 
Method Summary
static String resolveAppName(String name, org.apache.hadoop.conf.Configuration conf)
          Resolves the application name using the configuration properties to resolve any EL variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELUtils

public ELUtils()
Method Detail

resolveAppName

public static String resolveAppName(String name,
                                    org.apache.hadoop.conf.Configuration conf)
                             throws Exception
Resolves the application name using the configuration properties to resolve any EL variable.

Parameters:
name - name to EL resolve.
conf - configuration to use for resolving any EL variable in the name.
Returns:
the resolved application name.
Throws:
Exception - thrown if the name could not be EL resolved.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.