类 AnsiOutputApplicationListener
- java.lang.Object
- org.springframework.boot.context.config.AnsiOutputApplicationListener
- 所有已实现的接口:
EventListener
,org.springframework.context.ApplicationListener<ApplicationEnvironmentPreparedEvent>
,org.springframework.core.Ordered
public class AnsiOutputApplicationListener extends Object implements org.springframework.context.ApplicationListener<ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
AnApplicationListener
that configuresAnsiOutput
depending on the value of the propertyspring.output.ansi.enabled
. SeeAnsiOutput.Enabled
for valid values.- 从以下版本开始:
- 1.2.0
构造器概要
构造器 构造器 说明 AnsiOutputApplicationListener()
构造器详细资料
AnsiOutputApplicationListener
public AnsiOutputApplicationListener()
方法详细资料
onApplicationEvent
public void onApplicationEvent(ApplicationEnvironmentPreparedEvent event)
- 指定者:
onApplicationEvent
在接口中org.springframework.context.ApplicationListener<ApplicationEnvironmentPreparedEvent>
getOrder
public int getOrder()
- 指定者:
getOrder
在接口中org.springframework.core.Ordered