Package com.highmobility.autoapi
Enum Class Charging.PreconditioningError
java.lang.Object
java.lang.Enum<Charging.PreconditioningError>
com.highmobility.autoapi.Charging.PreconditioningError
- All Implemented Interfaces:
ByteEnum,Serializable,Comparable<Charging.PreconditioningError>,Constable
- Enclosing class:
- Charging
public static enum Charging.PreconditioningError
extends Enum<Charging.PreconditioningError>
implements ByteEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPreconditioning not possible because charging is not finishedPreconditioning not possible because battery or fuel is low -
Method Summary
Modifier and TypeMethodDescriptionfromByte(byte byteValue) bytegetByte()Returns the enum constant of this class with the specified name.static Charging.PreconditioningError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_CHANGE
-
NOT_POSSIBLE_LOW
Preconditioning not possible because battery or fuel is low -
NOT_POSSIBLE_FINISHED
Preconditioning not possible because charging is not finished -
AVAILABLE_AFTER_ENGINE_RESTART
-
GENERAL_ERROR
-
-
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
-
fromByte
- Throws:
CommandParseException
-
getByte
public byte getByte()
-