public enum Service extends Enum<Service>
| Enum Constant and Description |
|---|
COLLECTD |
GANGLIA |
GRAPHITE |
STATSD |
TCP |
UDP |
| Modifier and Type | Method and Description |
|---|---|
static Service |
findByExternalForm(String externalForm) |
String |
getExternalForm() |
static Service |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service UDP
public static final Service TCP
public static final Service GANGLIA
public static final Service STATSD
public static final Service COLLECTD
public static final Service GRAPHITE
public static Service[] values()
for (Service c : Service.values()) System.out.println(c);
public static Service 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 getExternalForm()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.