java.lang.Object
io.confluent.kafka.schemaregistry.client.rest.entities.Rule

public class Rule extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getDoc

      public String getDoc()
    • getKind

      public RuleKind getKind()
    • getMode

      public RuleMode getMode()
    • getType

      public String getType()
    • getTags

      public SortedSet<String> getTags()
    • getParams

      public SortedMap<String,String> getParams()
    • getExpr

      public String getExpr()
    • getOnSuccess

      public String getOnSuccess()
      If the mode is WRITEREAD or UPDOWN, the on-success action can be a comma separated pair of actions, such as "none,error". The first action applies to WRITE (or UP) and the second action applies to READ (or DOWN).
    • getOnFailure

      public String getOnFailure()
      If the mode is WRITEREAD or UPDOWN, the on-failure action can be a comma separated pair of actions, such as "none,error". The first action applies to WRITE (or UP) and the second action applies to READ (or DOWN).
    • isDisabled

      public boolean isDisabled()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • updateHash

      public void updateHash(MessageDigest md)
    • validate

      public void validate() throws RuleException
      Throws:
      RuleException