Package com.veeroute.lss.monitor.model
Enum Class FactType
- All Implemented Interfaces:
Serializable,Comparable<FactType>,Constable
Possible fact types: * `GEOTRACK_UPDATED` - the performer changed his location during the trip * `ORDER_DONE` - the performer has finished fulfilling the order, the cargo associated with the order is no longer in the transport box * `ORDER_CANCELED` - the order has been canceled, the cargo associated with the order is no longer in the transport box * `ORDER_POSTPONED` - the order execution has been postponed, the order remains assigned to the trip * `DEMAND_START` - performer started to fulfill the demand (the fact is created when the performer starts moving to the demand location) * `DEMAND_DONE` - performer finished to fulfill the demand * `DEMAND_CANCELED` - the performer canceled the demand * `DEMAND_PAYMENT` - the performer received payment for the demand * `TRIP_PRECEDENCE_CHANGED` - the performer changed the precedence of the demands in the trip * `TRIP_RECEIVED` - the performer has received the trip * `TRIP_CONFIRMED` - the performer has agreed to perform the trip * `TRIP_REJECTED` - the performer has refused to perform the trip * `TRIP_EXECUTING` - the performer has started performing the trip * `TRIP_DONE` - the performer has completed the trip, all orders in the trip are fulfilled * `JOB_DONE` - the performer has finished custom job * `WAYBILL_UPDATED` - the waybill of the cargo has been updated * `WAYBILL_SIGNED` - the performer has signed the waybill of the cargo * `LOCATION_CHECKIN` - the performer has entered the location radius (check-in) * `LOCATION_CHECKOUT` - the performer has exited the location radius (check-out)
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic FactTypegetValue()toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) static FactTypeReturns the enum constant of this class with the specified name.static FactType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GEOTRACK_UPDATED
-
ORDER_DONE
-
ORDER_CANCELED
-
ORDER_POSTPONED
-
DEMAND_START
-
DEMAND_DONE
-
DEMAND_CANCELED
-
DEMAND_PAYMENT
-
TRIP_PRECEDENCE_CHANGED
-
TRIP_RECEIVED
-
TRIP_CONFIRMED
-
TRIP_REJECTED
-
TRIP_EXECUTING
-
TRIP_DONE
-
JOB_DONE
-
WAYBILL_UPDATED
-
WAYBILL_SIGNED
-
LOCATION_CHECKIN
-
LOCATION_CHECKOUT
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
toString
-
fromValue
-
validateJsonElement
- Throws:
IOException
-