Enum BatteryStatus
- java.lang.Object
-
- java.lang.Enum<BatteryStatus>
-
- io.openems.edge.kaco.blueplanet.hybrid10.BatteryStatus
-
- All Implemented Interfaces:
OptionsEnum
,java.io.Serializable
,java.lang.Comparable<BatteryStatus>
public enum BatteryStatus extends java.lang.Enum<BatteryStatus> implements OptionsEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets this enums String representation.OptionsEnum
getUndefined()
Gets the enum that is used for 'UNDEFINED' values.int
getValue()
Gets this enums int representation.static BatteryStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BatteryStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.openems.common.types.OptionsEnum
asCamelCase, isUndefined
-
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final BatteryStatus UNDEFINED
-
ERROR
public static final BatteryStatus ERROR
-
OFF_STANDBY
public static final BatteryStatus OFF_STANDBY
-
TEST_2
public static final BatteryStatus TEST_2
-
TEST_3
public static final BatteryStatus TEST_3
-
TEST_4
public static final BatteryStatus TEST_4
-
TEST_5
public static final BatteryStatus TEST_5
-
TEST_6
public static final BatteryStatus TEST_6
-
TEST_7
public static final BatteryStatus TEST_7
-
TEST_8
public static final BatteryStatus TEST_8
-
TEST_9
public static final BatteryStatus TEST_9
-
TEST_10
public static final BatteryStatus TEST_10
-
TEST_11
public static final BatteryStatus TEST_11
-
TEST_12
public static final BatteryStatus TEST_12
-
TEST_13
public static final BatteryStatus TEST_13
-
TEST_14
public static final BatteryStatus TEST_14
-
TEST_15
public static final BatteryStatus TEST_15
-
TEST_16
public static final BatteryStatus TEST_16
-
ON_ACTIVE
public static final BatteryStatus ON_ACTIVE
-
POWER_DOWN
public static final BatteryStatus POWER_DOWN
-
SOFTWARE_UPDATE
public static final BatteryStatus SOFTWARE_UPDATE
-
-
Method Detail
-
values
public static BatteryStatus[] 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 (BatteryStatus c : BatteryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatteryStatus 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
-
getValue
public int getValue()
Description copied from interface:OptionsEnum
Gets this enums int representation.- Specified by:
getValue
in interfaceOptionsEnum
- Returns:
- the int representation
-
getName
public java.lang.String getName()
Description copied from interface:OptionsEnum
Gets this enums String representation.- Specified by:
getName
in interfaceOptionsEnum
- Returns:
- the String representation
-
getUndefined
public OptionsEnum getUndefined()
Description copied from interface:OptionsEnum
Gets the enum that is used for 'UNDEFINED' values.- Specified by:
getUndefined
in interfaceOptionsEnum
- Returns:
- the UNDEFINED enum
-
-