public enum MonitoringType extends Enum<MonitoringType>
Modifier and Type | Method and Description |
---|---|
Class<? extends MonitorService> |
getMonitorClass() |
static MonitoringType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitoringType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoringType OTHER
public static final MonitoringType GANGLIA
public static final MonitoringType HTTP
public static MonitoringType[] values()
for (MonitoringType c : MonitoringType.values()) System.out.println(c);
public static MonitoringType 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 Class<? extends MonitorService> getMonitorClass()
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.