Package io.openems.edge.core.appmanager
Enum Class OpenemsAppCategory
- All Implemented Interfaces:
Serializable
,Comparable<OpenemsAppCategory>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApis.Ess Controller.Electric vehicle charging station.Hardware.Heat.Integrated Systems.Load Control.Meter.Peak-Shaving.PV-Inverter.PV self-consumption.Category for test apps.Time variable energy price. -
Method Summary
Modifier and TypeMethodDescriptiongetReadableName
(Language language) Gets the readable name in the specific language.com.google.gson.JsonObject
toJsonObject
(Language language) Creates aJsonObject
of theOpenemsAppCategory
.static OpenemsAppCategory
Returns the enum constant of this class with the specified name.static OpenemsAppCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGRATED_SYSTEM
Integrated Systems. -
TIME_OF_USE_TARIFF
Time variable energy price. -
EVCS
Electric vehicle charging station. -
HEAT
Heat. -
ESS
Ess Controller. -
LOAD_CONTROL
Load Control. -
HARDWARE
Hardware. -
PEAK_SHAVING
Peak-Shaving. -
PV_INVERTER
PV-Inverter. -
PV_SELF_CONSUMPTION
PV self-consumption. -
METER
Meter. -
API
Apis. -
TEST
Category for test apps.NOTE: Do not use this category for normal apps!
-
-
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
-
getReadableName
Gets the readable name in the specific language.- Parameters:
language
- the language of the name- Returns:
- the name
-
toJsonObject
Creates aJsonObject
of theOpenemsAppCategory
.- Parameters:
language
- the language of the readable name- Returns:
- the
JsonObject
-