package Ġcom . tencent . devops . schedule . config Ċ Ċ import Ġorg . springframework . boot . autoconfigure . condition . Conditional On Property Ċ import Ġorg . springframework . boot . autoconfigure . condition . Conditional On Web Application Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . context . annotation . Configuration Ċ Ċ @ Configuration ( proxy Bean Methods Ġ= Ġfalse ) Ċ @ Conditional On Web Application Ċ @ Component Scan (" com . tencent . devops . schedule . web ") Ċ class ĠSchedule Server Web Configuration Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Conditional On Property ( ĊĠĠĠĠĠĠĠ Ġprefix Ġ= ĠSchedule Server Properties . PREFIX , ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ[" ui . enabled "], ĊĠĠĠĠĠĠĠ Ġhaving Value Ġ= Ġ" true ", ĊĠĠĠĠĠĠĠ Ġmatch If Missing Ġ= Ġtrue ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġschedule Server Ui Configurer ( ĊĠĠĠĠĠĠĠ Ġschedule Server Properties : ĠSchedule Server Properties ĊĠĠĠ Ġ): ĠSchedule Server Web Ui Configurer Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠSchedule Server Web Ui Configurer ( schedule Server Properties ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġschedule Server Auth Configurer ( ĊĠĠĠĠĠĠĠ Ġschedule Server Properties : ĠSchedule Server Properties ĊĠĠĠ Ġ): ĠSchedule Server Web Auth Configurer Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠSchedule Server Web Auth Configurer ( schedule Server Properties ) ĊĠĠĠ Ġ} Ċ } Ċ