Enum Class RewindFastforwardType

java.lang.Object
java.lang.Enum<RewindFastforwardType>
org.openhab.core.library.types.RewindFastforwardType
All Implemented Interfaces:
Serializable, Comparable<RewindFastforwardType>, Constable, Command, PrimitiveType, State, Type

@NonNullByDefault public enum RewindFastforwardType extends Enum<RewindFastforwardType> implements PrimitiveType, State, Command
This type is used by the PlayerItem.
Author:
Alex Tugarev - Initial contribution
  • Enum Constant Details

  • Method Details

    • values

      public static RewindFastforwardType[] 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 RewindFastforwardType 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
    • format

      public String format(String pattern)
      Description copied from interface: Type
      Formats the value of this type according to a pattern (see Formatter).
      Specified by:
      format in interface Type
      Parameters:
      pattern - the pattern to use
      Returns:
      the formatted string
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RewindFastforwardType>
    • toFullString

      public String toFullString()
      Description copied from interface: Type
      Get a string representation that contains the whole internal representation of the type.

      The returned string could be consumed by the static 'valueOf(String)' method of the respective type to build a new type that is equal to this type.

      Specified by:
      toFullString in interface Type
      Returns:
      a full string representation of the type to be consumed by 'valueOf(String)'