Enum Class ConfigurationTarget

java.lang.Object
java.lang.Enum<ConfigurationTarget>
io.openems.edge.core.appmanager.ConfigurationTarget
All Implemented Interfaces:
Serializable, Comparable<ConfigurationTarget>, Constable

public enum ConfigurationTarget extends Enum<ConfigurationTarget>
  • Enum Constant Details

    • ADD

      public static final ConfigurationTarget ADD
      Configuration will be used to Add an instance of the App.
    • UPDATE

      public static final ConfigurationTarget UPDATE
      Configuration will be used to Update/Repair an instance of the App.
    • VALIDATE

      public static final ConfigurationTarget VALIDATE
      Configuration will be used to validate an instance of the App.
    • DELETE

      public static final ConfigurationTarget DELETE
      Configuration will be used to delete. Only cares about the Component-IDs
    • TEST

      public static final ConfigurationTarget 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 the AppConfiguration an not an exception.
  • Method Details

    • values

      public static ConfigurationTarget[] 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

      public static ConfigurationTarget valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isDeleteOrTest

      public boolean isDeleteOrTest()
    • isAddOrUpdate

      public boolean isAddOrUpdate()