This commit is contained in:
eugene.livis 2022-05-03 12:32:06 -04:00
parent e416a6f170
commit fe9c1edc84

View File

@ -40,7 +40,6 @@ public final class AutoIngestUserPreferences {
private static final int DEFAULT_MAX_TIMES_TO_PROCESS_IMAGE = 0;
private static final String MAX_CONCURRENT_NODES_FOR_ONE_CASE = "MaxConcurrentNodesForOneCase"; // NON-NLS
private static final String INPUT_SCAN_INTERVAL_TIME = "IntervalBetweenInputScan"; // NON-NLS
private static final String CLEANUP_INTERVAL_TIME = "IntervalBetweenCleanupHrs"; // NON-NLS
// Prevent instantiation.
private AutoIngestUserPreferences() {
@ -283,16 +282,6 @@ public final class AutoIngestUserPreferences {
return value.isEmpty() ? 60 : Integer.parseInt(value);
}
/**
* Get the configured time for automated input and output cleanup interval
*
* @return int the value in hours, default is 3 hours.
*/
public static int getHoursOfCleanupInterval() {
String value = getPreferenceValue(CLEANUP_INTERVAL_TIME);
return value.isEmpty() ? 3 : Integer.parseInt(value);
}
/**
* Set the configured time for input scan interval
*