public enum WikiApiDimensionConfigInfo extends Enum<WikiApiDimensionConfigInfo> implements DimensionName
Enum Constant and Description |
---|
CHANNEL |
CITY_NAME |
COMMENT |
COUNTRY_ISO_CODE |
COUNTRY_NAME |
IS_ANONYMOUS |
IS_MINOR |
IS_NEW |
IS_ROBOT |
IS_UNPATROLLED |
METRO_CODE |
NAMESPACE |
PAGE |
REGION_ISO_CODE |
REGION_NAME |
USER |
Modifier and Type | Method and Description |
---|---|
String |
asName()
View the dimension name.
|
String |
getCategory() |
String |
getDescription() |
String |
getLongName() |
static WikiApiDimensionConfigInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WikiApiDimensionConfigInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WikiApiDimensionConfigInfo COMMENT
public static final WikiApiDimensionConfigInfo COUNTRY_ISO_CODE
public static final WikiApiDimensionConfigInfo REGION_ISO_CODE
public static final WikiApiDimensionConfigInfo PAGE
public static final WikiApiDimensionConfigInfo USER
public static final WikiApiDimensionConfigInfo IS_UNPATROLLED
public static final WikiApiDimensionConfigInfo IS_NEW
public static final WikiApiDimensionConfigInfo IS_ROBOT
public static final WikiApiDimensionConfigInfo IS_ANONYMOUS
public static final WikiApiDimensionConfigInfo IS_MINOR
public static final WikiApiDimensionConfigInfo NAMESPACE
public static final WikiApiDimensionConfigInfo CHANNEL
public static final WikiApiDimensionConfigInfo COUNTRY_NAME
public static final WikiApiDimensionConfigInfo REGION_NAME
public static final WikiApiDimensionConfigInfo METRO_CODE
public static final WikiApiDimensionConfigInfo CITY_NAME
public static WikiApiDimensionConfigInfo[] values()
for (WikiApiDimensionConfigInfo c : WikiApiDimensionConfigInfo.values()) System.out.println(c);
public static WikiApiDimensionConfigInfo 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 asName()
asName
in interface DimensionName
public String getDescription()
public String getLongName()
public String getCategory()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.