public static enum Banner.Mode extends Enum<Banner.Mode>
Enum Constant and Description |
---|
CONSOLE
Print the banner to System.out.
|
LOG
Print the banner to the log file.
|
OFF
Disable printing of the banner.
|
Modifier and Type | Method and Description |
---|---|
static Banner.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Banner.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Banner.Mode OFF
public static final Banner.Mode CONSOLE
public static final Banner.Mode LOG
public static Banner.Mode[] values()
for (Banner.Mode c : Banner.Mode.values()) System.out.println(c);
public static Banner.Mode 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 © 2015 Pivotal Software, Inc.. All rights reserved.