@Generated(value="org.jsonschema2pojo") public static enum HdfsConfiguration.Scheme extends Enum<HdfsConfiguration.Scheme>
Modifier and Type | Method and Description |
---|---|
static HdfsConfiguration.Scheme |
fromValue(String value) |
String |
toString() |
static HdfsConfiguration.Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsConfiguration.Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConfiguration.Scheme FILE
public static final HdfsConfiguration.Scheme HDFS
public static final HdfsConfiguration.Scheme WEBHDFS
public static HdfsConfiguration.Scheme[] values()
for (HdfsConfiguration.Scheme c : HdfsConfiguration.Scheme.values()) System.out.println(c);
public static HdfsConfiguration.Scheme 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 String toString()
toString
in class Enum<HdfsConfiguration.Scheme>
public static HdfsConfiguration.Scheme fromValue(String value)
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.