public enum EntryPointStyle extends Enum<EntryPointStyle>
| Enum Constant and Description |
|---|
boot
Application properties will be provided to the container as JSON in the
SPRING_APPLICATION_JSON environment variable.
|
exec
Application properties will be provided to the container as command line arguments.
|
shell
Application properties will be provided to the container as environment variables.
|
| Modifier and Type | Method and Description |
|---|---|
static EntryPointStyle |
relaxedValueOf(String entryPointStyle)
Converts the string of the provided entry point style to the appropriate enum value.
|
static EntryPointStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryPointStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryPointStyle exec
public static final EntryPointStyle shell
public static final EntryPointStyle boot
public static EntryPointStyle[] values()
for (EntryPointStyle c : EntryPointStyle.values()) System.out.println(c);
public static EntryPointStyle 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 static EntryPointStyle relaxedValueOf(String entryPointStyle)
exec if no matching
entry point style is found.entryPointStyle - the entry point style to useEntryPointStyleCopyright © 2020 Pivotal Software, Inc.. All rights reserved.