- StartupInfoPrinter 클래스 추가 - 서비스 시작 시 배너 출력
eapim-portal CI (from elink-portal-common) / build (push) Has been cancelled
eapim-portal CI (from elink-portal-common) / build (push) Has been cancelled
- MessageCode 채널 필드 @Deprecated 추가 및 기본값 설정 - MessageCode 신규 생성자 추가 - channel 파라미터 제거
This commit is contained in:
@@ -60,7 +60,8 @@ public enum MessageCode {
|
||||
@Getter
|
||||
private final String serviceId;
|
||||
@Getter
|
||||
private final int channels;
|
||||
@Deprecated // 삭제 예정
|
||||
private int channels = 0;
|
||||
|
||||
|
||||
public static Optional<MessageCode> findServiceId(String code) {
|
||||
@@ -72,6 +73,11 @@ public enum MessageCode {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
MessageCode(String description, String serviceId) {
|
||||
this.description = description;
|
||||
this.serviceId = serviceId;
|
||||
// this.channels = channel.getValue();
|
||||
}
|
||||
|
||||
MessageCode(String description, String serviceId, Channels channel) {
|
||||
this.description = description;
|
||||
|
||||
Reference in New Issue
Block a user