Class ContractRuleSearchResult
java.lang.Object
io.apicurio.registry.rest.v3.beans.ContractRuleSearchResult
ContractRuleSearchResult
A contract rule with its artifact coordinates, returned by tag search.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe artifact ID containing the rule.The global ID of the version (null for artifact-level rules).The group ID of the artifact containing the rule.getRule()ContractRuleThe rule category (DOMAIN or MIGRATION).voidsetArtifactId(String artifactId) The artifact ID containing the rule.voidsetGlobalId(Long globalId) The global ID of the version (null for artifact-level rules).voidsetGroupId(String groupId) The group ID of the artifact containing the rule.voidsetRule(ContractRule rule) ContractRulevoidsetRuleCategory(ContractRuleSearchResult.RuleCategory ruleCategory) The rule category (DOMAIN or MIGRATION).
-
Constructor Details
-
ContractRuleSearchResult
public ContractRuleSearchResult()
-
-
Method Details
-
getGroupId
The group ID of the artifact containing the rule. -
setGroupId
The group ID of the artifact containing the rule. -
getArtifactId
The artifact ID containing the rule. -
setArtifactId
The artifact ID containing the rule. -
getGlobalId
The global ID of the version (null for artifact-level rules). -
setGlobalId
The global ID of the version (null for artifact-level rules). -
getRuleCategory
The rule category (DOMAIN or MIGRATION). -
setRuleCategory
The rule category (DOMAIN or MIGRATION). -
getRule
ContractRuleA single contract rule definition.
-
setRule
ContractRuleA single contract rule definition.
-