public enum RootComponent extends Enum<RootComponent>
Enum Constant and Description |
---|
AMBARI_AGENT |
AMBARI_SERVER |
Modifier and Type | Method and Description |
---|---|
static RootComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RootComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RootComponent AMBARI_SERVER
public static final RootComponent AMBARI_AGENT
public static RootComponent[] values()
for (RootComponent c : RootComponent.values()) System.out.println(c);
public static RootComponent 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.