public enum MockMvcPrint extends Enum<MockMvcPrint>
AutoConfigureMockMvc
.Enum Constant and Description |
---|
DEFAULT
Use the default print setting (
MockMvcPrint.SYSTEM_OUT unless explicitly
overridden). |
LOG_DEBUG
Log MVC interactions at the
DEBUG level. |
NONE
Do not print MVC interactions.
|
SYSTEM_ERR
Print MVC interactions to
System.err . |
SYSTEM_OUT
Print MVC interactions to
System.out . |
Modifier and Type | Method and Description |
---|---|
static MockMvcPrint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MockMvcPrint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MockMvcPrint DEFAULT
MockMvcPrint.SYSTEM_OUT
unless explicitly
overridden).public static final MockMvcPrint LOG_DEBUG
DEBUG
level.public static final MockMvcPrint SYSTEM_OUT
System.out
.public static final MockMvcPrint SYSTEM_ERR
System.err
.public static final MockMvcPrint NONE
public static MockMvcPrint[] values()
for (MockMvcPrint c : MockMvcPrint.values()) System.out.println(c);
public static MockMvcPrint 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 © 2020 Pivotal Software, Inc.. All rights reserved.