public static enum HadoopUtils.HadoopConfigLoader extends Enum<HadoopUtils.HadoopConfigLoader> implements DescribedEnum
Modifier and Type | Method and Description |
---|---|
InlineElement |
getDescription()
Returns the description for the enum constant.
|
boolean |
loadEnv() |
boolean |
loadOption() |
String |
toString() |
static HadoopUtils.HadoopConfigLoader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopUtils.HadoopConfigLoader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopUtils.HadoopConfigLoader ALL
public static final HadoopUtils.HadoopConfigLoader ENV
public static final HadoopUtils.HadoopConfigLoader OPTION
public static HadoopUtils.HadoopConfigLoader[] values()
for (HadoopUtils.HadoopConfigLoader c : HadoopUtils.HadoopConfigLoader.values()) System.out.println(c);
public static HadoopUtils.HadoopConfigLoader valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean loadEnv()
public boolean loadOption()
public String toString()
toString
in class Enum<HadoopUtils.HadoopConfigLoader>
public InlineElement getDescription()
DescribedEnum
If you want to include links or code blocks, use TextElement.wrap(InlineElement...)
to wrap multiple inline elements into a single one.
getDescription
in interface DescribedEnum
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.