public enum AmbariServerConfigurationCategory extends Enum<AmbariServerConfigurationCategory>
Enum Constant and Description |
---|
LDAP_CONFIGURATION |
SSO_CONFIGURATION |
TPROXY_CONFIGURATION |
Modifier and Type | Method and Description |
---|---|
String |
getCategoryName() |
static String |
translate(AmbariServerConfigurationCategory category)
Safely returns the
AmbariServerConfigurationCategory 's descriptive name or null
if no AmbariServerConfigurationCategory was supplied. |
static AmbariServerConfigurationCategory |
translate(String categoryName)
Safely returns an
AmbariServerConfigurationCategory given the category's descriptive name |
static AmbariServerConfigurationCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmbariServerConfigurationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmbariServerConfigurationCategory LDAP_CONFIGURATION
public static final AmbariServerConfigurationCategory SSO_CONFIGURATION
public static final AmbariServerConfigurationCategory TPROXY_CONFIGURATION
public static AmbariServerConfigurationCategory[] values()
for (AmbariServerConfigurationCategory c : AmbariServerConfigurationCategory.values()) System.out.println(c);
public static AmbariServerConfigurationCategory 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 getCategoryName()
public static AmbariServerConfigurationCategory translate(String categoryName)
AmbariServerConfigurationCategory
given the category's descriptive namecategoryName
- a descriptive nameAmbariServerConfigurationCategory
public static String translate(AmbariServerConfigurationCategory category)
AmbariServerConfigurationCategory
's descriptive name or null
if no AmbariServerConfigurationCategory
was supplied.category
- an AmbariServerConfigurationCategory
AmbariServerConfigurationCategory
Copyright © 2022 Apache Software Foundation. All rights reserved.