|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.util.ConfigUtils
public class ConfigUtils
| Constructor Summary | |
|---|---|
ConfigUtils()
|
|
| Method Summary | |
|---|---|
static String |
getOozieEffectiveUrl()
Returns the HTTP or HTTPS URL for this Oozie server depending on which is actually configured |
static String |
getOozieURL(boolean secure)
Returns the HTTP or HTTPS URL for this Oozie server (http://HOSTNAME:HTTP_PORT/oozie or https://HOSTNAME:HTTPS_PORT/oozie) |
static boolean |
getWithDeprecatedCheck(org.apache.hadoop.conf.Configuration conf,
String newName,
String oldName,
boolean defaultValue)
Fetches a property using both a deprecated name and the new name. |
static String |
getWithDeprecatedCheck(org.apache.hadoop.conf.Configuration conf,
String newName,
String oldName,
String defaultValue)
Fetches a property using both a deprecated name and the new name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigUtils()
| Method Detail |
|---|
public static String getWithDeprecatedCheck(org.apache.hadoop.conf.Configuration conf,
String newName,
String oldName,
String defaultValue)
conf - configuration object.newName - new property name.oldName - deprecated property name.defaultValue - default value.
public static boolean getWithDeprecatedCheck(org.apache.hadoop.conf.Configuration conf,
String newName,
String oldName,
boolean defaultValue)
conf - configuration object.newName - new property name.oldName - deprecated property name.defaultValue - default value.
public static String getOozieURL(boolean secure)
secure - true to return the HTTPS URL or false to return the HTTP URL
public static String getOozieEffectiveUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||