Class AddonMatchProperty

java.lang.Object
org.openhab.core.addon.AddonMatchProperty

@NonNullByDefault public class AddonMatchProperty extends Object
DTO for serialization of a property match regular expression.
Author:
Andrew Fiddian-Green - Initial contribution
  • Constructor Details

    • AddonMatchProperty

      public AddonMatchProperty(String name, String regex)
  • Method Details

    • getName

      public String getName()
    • getPattern

      public Pattern getPattern()
    • getRegex

      public String getRegex()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object