Enum EVSEStatus
Package com.here.sdk.search
Enum EVSEStatus
- java.lang.Object
-
- java.lang.Enum<EVSEStatus>
-
- com.here.sdk.search.EVSEStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EVSEStatus>
public enum EVSEStatus extends java.lang.Enum<EVSEStatus>
EVSE status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLEThe EVSE is able to start a new charging session.OCCUPIEDThe EVSE is in use.OFFLINENo status information available.OTHERNo status information available.OUT_OF_SERVICEThe EVSE is currently out of order.RESERVEDThe EVSE has been reserved for a particular EV driver and is unavailable for other drivers.UNAVAILABLEThe EVSE is not available because of a physical barrier, for example a car.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EVSEStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EVSEStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final EVSEStatus AVAILABLE
The EVSE is able to start a new charging session.
-
OCCUPIED
public static final EVSEStatus OCCUPIED
The EVSE is in use.
-
OFFLINE
public static final EVSEStatus OFFLINE
No status information available. Also used when offline.
-
OTHER
public static final EVSEStatus OTHER
No status information available. Also used when offline.
-
OUT_OF_SERVICE
public static final EVSEStatus OUT_OF_SERVICE
The EVSE is currently out of order.
-
RESERVED
public static final EVSEStatus RESERVED
The EVSE has been reserved for a particular EV driver and is unavailable for other drivers.
-
UNAVAILABLE
public static final EVSEStatus UNAVAILABLE
The EVSE is not available because of a physical barrier, for example a car.
-
-
Method Detail
-
values
public static EVSEStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EVSEStatus c : EVSEStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EVSEStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-