Enum Class EntityErrorType

java.lang.Object
java.lang.Enum<EntityErrorType>
com.veeroute.lss.monitor.model.EntityErrorType
All Implemented Interfaces:
Serializable, Comparable<EntityErrorType>, Constable

public enum EntityErrorType extends Enum<EntityErrorType>
Error type: * `INCONSISTENT_REFERENCE` - bad reference key * `UNIQUE_IDS_VIOLATION` - all keys must be unique * `INVALID_ROUTING_MATRIX` - bad routing matrix dimension * `INVALID_GEO_PROVIDER` - bad geo provider * `INVALID_TIME_WINDOW` - bad time window * `COMPATIBILITY_CARGO_BOX` - no cargo is compatible with any box * `COMPATIBILITY_TRANSPORT_PERFORMER` - no transport is compatible with any performer * `COMPATIBILITY_TRANSPORT_LOCATION` - no transport is compatible with any location * `COMPATIBILITY_ORDER_PERFORMER` - no order is compatible with any performer * `INCONSISTENT_HARDLINK` - essence key must be only in one hardlink * `PLANNING_HORIZON_EXCEEDED` - planning horizon exceeded (difference between earliest and latest timestamp in dataset) * `MEANINGLESS_RESTRICTIONS` - the specified restrictions do not make sense * `LOCATION_LIMITS_VIOLATION` - the time windows of the constraint's validity must not overlap and their union must correspond to the location availability window `work_window`; if the `min_cargos`/`min_transports` constraint is specified, then the `max_cargos`/`max_transports` constraint must be specified; the `min_cargos`/`min_transports` constraints must be less than all the `max_cargos`/`max_transports` constraints; the `LOWEST_COST` time selection strategy is specified (currently not supported) * `PERFORMER_WRR_MUST_BE_SET` - at least one of the fields `rest_rules` or `break_rules` must be set for the work and rest schedule. * `PERFORMER_WRR_INVALID_REST_COUNT` - the number of rests cannot exceed 14 * `PERFORMER_WRR_INVALID_BREAK_COUNT` - no more than 14 breaks can start between rests * `PERFORMER_WRR_MEANINGLESS_REST` - the specified rest cannot be inserted * `PERFORMER_WRR_MEANINGLESS_BREAK` - the specified break cannot be inserted * `TOO_MANY_WARNINGS` - the number of warnings is greater than 15001 * `UNCLASSIFIED_ERROR` - unclassified error
  • Enum Constant Details

    • INCONSISTENT_REFERENCE

      public static final EntityErrorType INCONSISTENT_REFERENCE
    • UNIQUE_IDS_VIOLATION

      public static final EntityErrorType UNIQUE_IDS_VIOLATION
    • INVALID_ROUTING_MATRIX

      public static final EntityErrorType INVALID_ROUTING_MATRIX
    • INVALID_GEO_PROVIDER

      public static final EntityErrorType INVALID_GEO_PROVIDER
    • INVALID_TIME_WINDOW

      public static final EntityErrorType INVALID_TIME_WINDOW
    • COMPATIBILITY_CARGO_BOX

      public static final EntityErrorType COMPATIBILITY_CARGO_BOX
    • COMPATIBILITY_TRANSPORT_PERFORMER

      public static final EntityErrorType COMPATIBILITY_TRANSPORT_PERFORMER
    • COMPATIBILITY_TRANSPORT_LOCATION

      public static final EntityErrorType COMPATIBILITY_TRANSPORT_LOCATION
    • COMPATIBILITY_ORDER_PERFORMER

      public static final EntityErrorType COMPATIBILITY_ORDER_PERFORMER
    • PLANNING_HORIZON_EXCEEDED

      public static final EntityErrorType PLANNING_HORIZON_EXCEEDED
    • MEANINGLESS_RESTRICTIONS

      public static final EntityErrorType MEANINGLESS_RESTRICTIONS
    • LOCATION_LIMITS_VIOLATION

      public static final EntityErrorType LOCATION_LIMITS_VIOLATION
    • PERFORMER_WRR_MUST_BE_SET

      public static final EntityErrorType PERFORMER_WRR_MUST_BE_SET
    • PERFORMER_WRR_INVALID_REST_COUNT

      public static final EntityErrorType PERFORMER_WRR_INVALID_REST_COUNT
    • PERFORMER_WRR_INVALID_BREAK_COUNT

      public static final EntityErrorType PERFORMER_WRR_INVALID_BREAK_COUNT
    • PERFORMER_WRR_MEANINGLESS_REST

      public static final EntityErrorType PERFORMER_WRR_MEANINGLESS_REST
    • PERFORMER_WRR_MEANINGLESS_BREAK

      public static final EntityErrorType PERFORMER_WRR_MEANINGLESS_BREAK
    • TOO_MANY_WARNINGS

      public static final EntityErrorType TOO_MANY_WARNINGS
    • UNCLASSIFIED_ERROR

      public static final EntityErrorType UNCLASSIFIED_ERROR
  • Method Details

    • values

      public static EntityErrorType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EntityErrorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EntityErrorType>
    • fromValue

      public static EntityErrorType fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException