Class PropertiesScheduling.Optimization

java.lang.Object
overit.geocallapp.utilities.config.Properties
overit.geocallapp.wfm.scheduling.PropertiesScheduling.Optimization
Enclosing class:
PropertiesScheduling

public static class PropertiesScheduling.Optimization extends Properties
  • Method Details

    • isAutomaticSchedulingOnRealPlan

      public static boolean isAutomaticSchedulingOnRealPlan()
    • isMultiAssignement

      public static boolean isMultiAssignement()
      Check if the multi assignement is active
      Returns:
      true if the multi assignement is active, false otherwise
    • isDefaultActivityTypeToSkip

      public static boolean isDefaultActivityTypeToSkip()
      It enables the association of geocall base types (BL,SA,SASCAD, AG) with tasks, when custom types are identified
    • isOssCacheActive

      public static boolean isOssCacheActive()
      Say if the vrp oss calls caching is enabled.
      Returns:
      true if the vrp oss calls caching is enabled, false otherwise.
    • isTestCallActive

      public static boolean isTestCallActive()
      Say if the vrp test calls will be performed.
      Returns:
      true if the vrp test calls will be performed, false otherwise.
    • getRecalibrateMaxThreads

      public static Integer getRecalibrateMaxThreads()
      Returns the maximum number of Real-Time rielaboration attempts before reporting an error.
      Returns:
      the recalibrate max threads
    • getRielaborationMaxAttempts

      public static Integer getRielaborationMaxAttempts()
      Returns the number of first assignments (in the future) that must remain assigned to the team/resource in the current order. The default value is 3.
      Returns:
      the rielaboration max attempts id
    • getRielaborationCompletedActivitiesCancellationMaxThreads

      public static Long getRielaborationCompletedActivitiesCancellationMaxThreads()
      Returns the maximum number of threads used by the Real-Time rielaboration to parallelize the cancellation phase of the plannings for the already completed activities. The default value is -1.
      Returns:
      the rielaboration completed activities cancellation max threads
    • getMaxActivitiesPerThread

      public static Long getMaxActivitiesPerThread()
      Returns the maximum number of activities that can be processed by each thread. The default value is 60.
      Returns:
      the max activities per thread
    • getOptimizationLogType

      public static String getOptimizationLogType()
      Returns the optimization log type. The available values are:
      • DISABLED
      • DBVIEW
      • STEP_BY_STEP_DB
      Returns:
      the optimization log type
      See Also:
      • LogType
    • isWorkOrderOperationsMonitoringLog

      public static boolean isWorkOrderOperationsMonitoringLog()
      Checks whether the precisely monitoring of work order operations in the Automating Scheduling log is enabled.
      Returns:
      true if the work order operations monitoring log is enabled, false otherwise
    • getMaxSchedulingProcesses

      public static Long getMaxSchedulingProcesses()
      Returns the maximum number of schedules waiting for a specific model. The default value is 1.
      Returns:
      the max scheduling processes
    • getSchedulingSlotIncrease

      public static Integer getSchedulingSlotIncrease()
      Returns the step value for the pre-scheduling slot of the team activities during the integration call for a single resource.
      Returns:
      the scheduling slot increase
    • getMaxPlannedSchedulesProcesses

      public static Long getMaxPlannedSchedulesProcesses()
      Returns the number of maximum planned scheduling processes. The default value is 1.
      Returns:
      the max planned schedules processes
    • getMaxProcessingAttempts

      public static Long getMaxProcessingAttempts()
      Returns the number of maximum processing attempts.
      Returns:
      the max processing attempts
    • getMaxExtractedSchedulingActivityDuration

      public static Long getMaxExtractedSchedulingActivityDuration()
      Returns the maximum duration of schedulable activities extracted for the scheduling process.
      Returns:
      the max extracted scheduling activity duration
    • isLunchWorkingEnabled

      public static boolean isLunchWorkingEnabled()
      Checks if is the lunch working mode is enabled.
      Returns:
      true if the lunch working mode is enabled, false otherwise
    • getMaxSimultaneousRunningSchedulingProcesses

      public static Long getMaxSimultaneousRunningSchedulingProcesses()
      Returns the number of maximum scheduling processes that run simultaneously.
      Returns:
      the max simultaneous running scheduling processes
    • getMaxSchedulingAdditionalDays

      public static Long getMaxSchedulingAdditionalDays()
      Returns the number of working days added to automatic scheduling for managing multi-day activities (operation center). The default value is 5.
      Returns:
      the max scheduling additional days
    • getMinDurationMultiDayActivities

      public static Long getMinDurationMultiDayActivities()
      Returns the minimum length of portions into which a multi-day activity can be divided. The default value is 90.
      Returns:
      the min duration multi day activities
    • getMaxErrorVRP

      public static Long getMaxErrorVRP()
      Returns the maximum number of acceptable errors before a VRP daemons reset. After this threshold is exceeded no more scheduling processes are queued to the daemon. The default value is 10.
      Returns:
      the max error VRP
    • getInitialActivityTypeSuffix

      public static String getInitialActivityTypeSuffix()
      Returns the initial activity type suffix.
      Returns:
      the initial activity type suffix
    • getClonedActivityTypeSuffix

      public static String getClonedActivityTypeSuffix()
      Returns the cloned activity type suffix.
      Returns:
      the cloned activity type suffix
    • getNotRemovableFutureAssignementsNumber

      public static Long getNotRemovableFutureAssignementsNumber()
      Returns the number of first assignments (in the future) that must remain assigned to the team/resource in the current order.
      Returns:
      the number of not removable future assignments
    • getNotRemovableFutureAssignmentsTimeInterval

      public static Long getNotRemovableFutureAssignmentsTimeInterval()
      Returns the time interval (in minutes) that determines which resource/team assignments should remain assigned in the current order, as the related intervention is expected to start within the specified interval.
      Returns:
      the time interval for not removable future assignments
    • getAutomaticSchedulingRestartTimeInterval

      public static Long getAutomaticSchedulingRestartTimeInterval()
      Returns The maximum time interval (in minutes) within which the results of the automatic scheduling will be available to the in-field resources.
      Returns:
      the automatic scheduling restart time interval
    • getNoFeedbackExclusionTimeInterval

      public static Long getNoFeedbackExclusionTimeInterval()
      Returns the time interval (in minutes) that allows to exclude from processing, resources/teams for which no feedback has been received from field within that interval
      Returns:
      the no feedback exclusion time interval
    • getShiftStartExclusionTimeInterval

      public static Long getShiftStartExclusionTimeInterval()
      Returns the time interval (in minutes) that allows to exclude from processing the resources/teams, for which the beginning of the working day is after this interval.
      Returns:
      the shift start exclusion time interval
    • getSchedulingRequestsMaxAttempts

      public static Integer getSchedulingRequestsMaxAttempts()
      Returns the maximum number of scheduling attempts from planning requests. The default value is 3.
      Returns:
      the scheduling requests max attempts
    • getSchedulingRequestsAttemptsInterval

      public static Integer getSchedulingRequestsAttemptsInterval()
      Returns the time interval between two successive scheduling attempts. The default value is 5.
      Returns:
      the scheduling requests attempts interval
    • getSchedulingRequestsExpiringMinutes

      public static Integer getSchedulingRequestsExpiringMinutes()
      Returns the WO scheduling expiring minutes. The default value is 60.
      Returns:
      the scheduling requests expiring minutes
    • isRielaborationPrefixAppointmentSlots

      public static boolean isRielaborationPrefixAppointmentSlots()
      Define if the ri-elaboration real time slots management is enabled.
      It means that if it is false we won't have the slots as vrp input, if it is true we will have the slots as input the default is false(property not in the system)
    • isNoSkillActivityInclusion

      public static boolean isNoSkillActivityInclusion()
    • getSolviceBaseUrl

      public static String getSolviceBaseUrl()
    • getSolviceStatusBaseUrl

      public static String getSolviceStatusBaseUrl()
    • getSolviceApiKey

      public static String getSolviceApiKey()
    • getIntervalSinceLastRecalibrate

      public static Long getIntervalSinceLastRecalibrate()
      Returns the time interval (in minutes) since the last recalibrate/actualize. This interval determines when a new recalibration should be performed. The default value is 30.
      Returns:
      the interval since last recalibrate in minutes
    • getShiftEndExclusionTimeInterval

      public static Long getShiftEndExclusionTimeInterval()
      Returns the time interval (in minutes) before the shift end that allows to exclude resources/teams from processing, as their shift is about to end. The default value is 30.
      Returns:
      the shift end exclusion time interval in minutes
    • getMaxEmergencyResponseSchedulingAttempts

      public static Integer getMaxEmergencyResponseSchedulingAttempts()
      Returns the maximum number of immediate scheduling attempts.
      Returns:
      the maximum number of immediate scheduling attempts
    • getEmergencyResponseTimeoutMinutes

      public static Integer getEmergencyResponseTimeoutMinutes()
      Returns the timeout in minutes for immediate scheduling processing. If a processing is in IN_PROGRESS state for more than this timeout, it is considered dead. The default value is 10.
      Returns:
      the timeout in minutes
    • getAddedDurationForNotYetClosedActivitiesMinutes

      public static Long getAddedDurationForNotYetClosedActivitiesMinutes()
      Returns the added duration for not yet closed activities in minutes. This value is added to the expected end time when an activity has exceeded its expected duration but has not yet been declared as finished. The default value is 5.
      Returns:
      the added duration for not yet closed activities in minutes
    • getEmergencyResponseRealtimeTrafficTimeframe

      public static Integer getEmergencyResponseRealtimeTrafficTimeframe()
      Returns the real-time traffic timeframe in minutes for Emergency Response. Transfers that start between now and now+timeframe must be recalculated using real-time traffic. The default value is 60.
      Returns:
      the real-time traffic timeframe in minutes
    • getEmergencyResponseRealtimeTrafficSpaceName

      public static String getEmergencyResponseRealtimeTrafficSpaceName()
      Returns the space name for real-time traffic in Emergency Response. This is the name of the OSS space selected from those present in the system to use for real-time traffic calculation.
      Returns:
      the space name for real-time traffic
    • isUseRealTimeTrafficInManualScheduling

      public static Boolean isUseRealTimeTrafficInManualScheduling()
      Returns whether to use real-time traffic in manual scheduling operations. When enabled, manual paste operations will use real-time traffic data for travel time calculations when within the configured timeframe.
      Returns:
      true if real-time traffic should be used in manual scheduling, false otherwise
    • getOssResponseLogLevel

      public static String getOssResponseLogLevel()
      Returns the log level for OSS responses. Determines which types of OSS responses should be logged:
      • ERROR: Log only crow-fly responses
      • WARNING: Log crow-fly and mixed responses
      • TRACE: Log all responses
      The default value is ERROR.
      Returns:
      the OSS response log level code
    • getOssResponseLogMaxDateRangeDays

      public static Integer getOssResponseLogMaxDateRangeDays()
      Returns the maximum date range (in days) allowed for OSS response log searches. This prevents performance issues from searching over excessively large date ranges. The default value is 30.
      Returns:
      the maximum date range in days