Class AnsiOutputApplicationListener
java.lang.Object
org.springframework.boot.context.config.AnsiOutputApplicationListener
- All Implemented Interfaces:
EventListener
,ApplicationListener<ApplicationEnvironmentPreparedEvent>
,Ordered
public class AnsiOutputApplicationListener
extends Object
implements ApplicationListener<ApplicationEnvironmentPreparedEvent>, Ordered
An
ApplicationListener
that configures AnsiOutput
depending on the
value of the property spring.output.ansi.enabled
. See AnsiOutput.Enabled
for valid
values.- Since:
- 1.2.0
- Author:
- Raphael von der GrĂ¼n, Madhura Bhave
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AnsiOutputApplicationListener
public AnsiOutputApplicationListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceApplicationListener<ApplicationEnvironmentPreparedEvent>
-
getOrder
public int getOrder()
-