File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
src/main/java/com/gsm/_8th/class4/backend/task27/global Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ package com .gsm ._8th .class4 .backend .task27 .global .annotation ;
2+
3+ import jdk .jfr .Name ;
4+ import org .springframework .stereotype .Component ;
5+
6+ import java .lang .annotation .Retention ;
7+ import java .lang .annotation .RetentionPolicy ;
8+
9+ @ Name ("TaskInfo" )
10+ @ Retention (RetentionPolicy .RUNTIME )
11+ @ Component
12+ public @interface TaskInfo {
13+ }
Original file line number Diff line number Diff line change 1+ package com .gsm ._8th .class4 .backend .task27 .global .info ;
2+
3+ import com .gsm ._8th .class4 .backend .task27 .global .annotation .TaskInfo ;
4+ import jakarta .annotation .PostConstruct ;
5+ import lombok .extern .slf4j .Slf4j ;
6+
7+ @ TaskInfo
8+ @ Slf4j
9+ public class Task2_7Information {
10+ @ PostConstruct
11+ public void infoPrint () {
12+ log .info ("""
13+ \n
14+ \n
15+ _______ _ _
16+ |__ __|| | (_)
17+ | | | |__ _\s
18+ | | | '_ \\ | |
19+ | | | | | | |
20+ |_| |_| |_|_|\
21+ """ );
22+ log .info ("\033 [34m====================================================================================================\033 [0m" );
23+ log .info ("\033 [36m과제 안내\033 [0m" );
24+ log .info ("\033 [34m====================================================================================================\033 [0m" );
25+ log .info ("\033 [32m섹터: 섹터 2\033 [0m" );
26+ log .info ("\033 [32m과제: 2-7\033 [0m" );
27+ log .info ("\033 [32m요약: Docker를 이용한 애플리케이션 빌드 및 구동\033 [0m" );
28+ log .info ("\033 [33m과제 수행기간: 2025/03/19~2025/03/25\033 [0m" );
29+ log .info ("\033 [35mNotion을 참고하여 과제를 수행해주세요: https://amondbabaro.notion.site/2-7-2025-03-19-2025-03-25-1b98f98f331080d9b0cadaf8f8e38946?pvs=74\033 [0m" );
30+ log .info ("\033 [31m과제를 수행하면서 궁금한 점이나 문제가 발생하면 언제든지 질문해주세요\033 [0m" );
31+ log .info ("\033 [31m과제를 완료하면 Discord 채널에 과제 완료 보고 부탁드립니다\033 [0m" );
32+ log .info ("\033 [36m언제나 화이팅입니다!\033 [0m" );
33+ log .info ("\033 [36m언제나 멋진 개발자가 되기 위해서 오늘도 정진!😎\033 [0m" );
34+ log .info ("\033 [34m====================================================================================================\033 [0m" );
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments