Package io.apicurio.registry.rules
Class RuleViolation
- java.lang.Object
-
- io.apicurio.registry.rules.RuleViolation
-
public class RuleViolation extends Object
- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description RuleViolation()Constructor.RuleViolation(String description, String context)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()StringgetDescription()voidsetContext(String context)voidsetDescription(String description)
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getContext
public String getContext()
- Returns:
- the context
-
setContext
public void setContext(String context)
- Parameters:
context- the context to set
-
-