Package io.openems.edge.core.appmanager
Enum Class ConfigurationTarget
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationTarget>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConfiguration will be used to Add an instance of the App.Configuration will be used to delete.Configuration will be used to test which ids can be replaced even though it has errors e.Configuration will be used to Update/Repair an instance of the App.Configuration will be used to validate an instance of the App. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static ConfigurationTarget
Returns the enum constant of this class with the specified name.static ConfigurationTarget[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
Configuration will be used to Add an instance of the App. -
UPDATE
Configuration will be used to Update/Repair an instance of the App. -
VALIDATE
Configuration will be used to validate an instance of the App. -
DELETE
Configuration will be used to delete. Only cares about the Component-IDs -
TEST
Configuration will be used to test which ids can be replaced even though it has errors e. g. not all passed values can be converted to enums but still get theAppConfiguration
an not an exception.
-
-
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
-
isDeleteOrTest
public boolean isDeleteOrTest() -
isAddOrUpdate
public boolean isAddOrUpdate()
-