Enum Class EssType

java.lang.Object
java.lang.Enum<EssType>
io.openems.edge.ess.power.api.EssType
All Implemented Interfaces:
Serializable, Comparable<EssType>, Constable

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

    • META

      public static final EssType META
    • SYMMETRIC

      public static final EssType SYMMETRIC
    • ASYMMETRIC

      public static final EssType ASYMMETRIC
    • SINGLE_PHASE

      public static final EssType SINGLE_PHASE
  • Method Details

    • values

      public static EssType[] 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 EssType 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
    • getEssType

      public static EssType getEssType(ManagedSymmetricEss ess)
      Gets the EssType of the given ManagedSymmetricEss.
      Parameters:
      ess - the ManagedSymmetricEss
      Returns:
      the EssType