public enum ServeMode extends Enum<ServeMode>
| Modifier and Type | Method and Description |
|---|---|
String |
getServeMode() |
static ServeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServeMode ALWAYS
public static final ServeMode OBEY
public static final ServeMode REMOVE
public static final ServeMode NO
public static ServeMode[] values()
for (ServeMode c : ServeMode.values()) System.out.println(c);
public static ServeMode 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 getServeMode()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.