EVSEState (API Reference)
Enum Class EVSEState
- All Implemented Interfaces:
Serializable,Comparable<EVSEState>,Constable
Indicates the current short-term status of the EVSE at the time given in the modified property. There are no separate statuses available for individual connectors. A single EVSE can only be used by a single car, so same statuses apply to other connectors as well. So, if one connector is in use, the whole EVSE has status charging, and other connectors cannot be used at the same time, hence they should be considered in-use as well. If an EVSE can allow multiple connectors to be used at the same time, it is basically multiple EVSEs merged into a single physical box or device.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe EVSE/connector is able to start a new charging session.The EVSE/connector is not accessible because of a physical barrier, i.e.The EVSE/connector is in use.The EVSE/connector is temporarily not available for use, but not broken or defect.The EVSE/connector was operational when checked the last time, but the actual latest status is not available at the moment.The EVSE/connector is currently out of order.The EVSE/connector is reserved for a particular EV driver and is unavailable for other drivers.No status information available or the EVSE/connector is offline. -
Method Summary
-
Enum Constant Details
-
UNKNOWN
No status information available or the EVSE/connector is offline.
-
AVAILABLE
The EVSE/connector is able to start a new charging session.
-
BLOCKED
The EVSE/connector is not accessible because of a physical barrier, i.e. a car.
-
CHARGING
The EVSE/connector is in use.
-
INOPERATIVE
The EVSE/connector is temporarily not available for use, but not broken or defect.
-
OUT_OF_ORDER
The EVSE/connector is currently out of order.
-
RESERVED
The EVSE/connector is reserved for a particular EV driver and is unavailable for other drivers.
-
OPERATIONAL
The EVSE/connector was operational when checked the last time, but the actual latest status is not available at the moment.
-
-
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
-