분류 enum
This commit is contained in:
@@ -28,7 +28,8 @@ public enum DetectionClassification {
|
|||||||
private final int order;
|
private final int order;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not found.
|
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not
|
||||||
|
* found.
|
||||||
*/
|
*/
|
||||||
public static DetectionClassification fromString(String text) {
|
public static DetectionClassification fromString(String text) {
|
||||||
if (text == null || text.trim().isEmpty()) {
|
if (text == null || text.trim().isEmpty()) {
|
||||||
|
|||||||
@@ -13,12 +13,9 @@ public class MapSheetMngFileJobController {
|
|||||||
private final MapSheetMngFileJobService mapSheetMngFileJobService;
|
private final MapSheetMngFileJobService mapSheetMngFileJobService;
|
||||||
|
|
||||||
// 현재 상태 확인용 Getter
|
// 현재 상태 확인용 Getter
|
||||||
@Getter
|
@Getter private boolean isSchedulerEnabled = false;
|
||||||
private boolean isSchedulerEnabled = false;
|
@Getter private boolean isFileSyncSchedulerEnabled = false;
|
||||||
@Getter
|
@Getter private int mngSyncPageSize = 20;
|
||||||
private boolean isFileSyncSchedulerEnabled = false;
|
|
||||||
@Getter
|
|
||||||
private int mngSyncPageSize = 20;
|
|
||||||
|
|
||||||
// 파일싱크 진행여부 확인하기
|
// 파일싱크 진행여부 확인하기
|
||||||
@Scheduled(fixedDelay = 1000 * 10)
|
@Scheduled(fixedDelay = 1000 * 10)
|
||||||
@@ -33,17 +30,11 @@ public class MapSheetMngFileJobController {
|
|||||||
mng = mapSheetMngFileJobService.checkMngFileSync();
|
mng = mapSheetMngFileJobService.checkMngFileSync();
|
||||||
this.isFileSyncSchedulerEnabled = true;
|
this.isFileSyncSchedulerEnabled = true;
|
||||||
System.out.println(
|
System.out.println(
|
||||||
"MngFileSyncJob --> mngYyyy : "
|
"MngFileSyncJob --> mngYyyy : " + mng + ", currentTime : " + System.currentTimeMillis());
|
||||||
+ mng
|
|
||||||
+ ", currentTime : "
|
|
||||||
+ System.currentTimeMillis());
|
|
||||||
} else {
|
} else {
|
||||||
this.isFileSyncSchedulerEnabled = false;
|
this.isFileSyncSchedulerEnabled = false;
|
||||||
System.out.println(
|
System.out.println(
|
||||||
"MngFileSyncJob --> mngYyyy : "
|
"MngFileSyncJob --> mngYyyy : " + mng + ", currentTime : " + System.currentTimeMillis());
|
||||||
+ mng
|
|
||||||
+ ", currentTime : "
|
|
||||||
+ System.currentTimeMillis());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user