Class ContractRuleSearchResult

java.lang.Object
io.apicurio.registry.rest.v3.beans.ContractRuleSearchResult

@Generated("jsonschema2pojo") public class ContractRuleSearchResult extends Object
ContractRuleSearchResult

A contract rule with its artifact coordinates, returned by tag search.

  • Constructor Details

    • ContractRuleSearchResult

      public ContractRuleSearchResult()
  • Method Details

    • getGroupId

      public String getGroupId()
      The group ID of the artifact containing the rule.
    • setGroupId

      public void setGroupId(String groupId)
      The group ID of the artifact containing the rule.
    • getArtifactId

      public String getArtifactId()
      The artifact ID containing the rule.
    • setArtifactId

      public void setArtifactId(String artifactId)
      The artifact ID containing the rule.
    • getGlobalId

      public Long getGlobalId()
      The global ID of the version (null for artifact-level rules).
    • setGlobalId

      public void setGlobalId(Long globalId)
      The global ID of the version (null for artifact-level rules).
    • getRuleCategory

      public ContractRuleSearchResult.RuleCategory getRuleCategory()
      The rule category (DOMAIN or MIGRATION).
    • setRuleCategory

      public void setRuleCategory(ContractRuleSearchResult.RuleCategory ruleCategory)
      The rule category (DOMAIN or MIGRATION).
    • getRule

      public ContractRule getRule()
      ContractRule

      A single contract rule definition.

    • setRule

      public void setRule(ContractRule rule)
      ContractRule

      A single contract rule definition.