Package org.revapi.maven
Class JsonSuggestionsBuilder
- java.lang.Object
-
- org.revapi.maven.AbstractSuggestionsBuilder
-
- org.revapi.maven.JsonSuggestionsBuilder
-
- All Implemented Interfaces:
BuildTimeReporter.SuggestionsBuilder
public class JsonSuggestionsBuilder extends AbstractSuggestionsBuilder
A helper toBuildTimeReporter
that outputs the ignore suggestions in JSON format.
-
-
Constructor Summary
Constructors Constructor Description JsonSuggestionsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendDifferenceField(StringBuilder sb, String key, Object value)
protected void
appendDifferenceFieldSeparator(StringBuilder sb)
protected void
endDifference(StringBuilder sb)
protected void
endOptionalAttachmentsInComment(StringBuilder sb)
protected void
epilogue(StringBuilder sb)
protected void
prologue(StringBuilder sb)
protected void
startDifference(StringBuilder sb)
protected void
startOptionalAttachmentsInComment(StringBuilder sb, String text)
-
Methods inherited from class org.revapi.maven.AbstractSuggestionsBuilder
build
-
-
-
-
Method Detail
-
appendDifferenceField
protected void appendDifferenceField(StringBuilder sb, String key, Object value)
- Specified by:
appendDifferenceField
in classAbstractSuggestionsBuilder
-
appendDifferenceFieldSeparator
protected void appendDifferenceFieldSeparator(StringBuilder sb)
- Specified by:
appendDifferenceFieldSeparator
in classAbstractSuggestionsBuilder
-
prologue
protected void prologue(StringBuilder sb)
- Specified by:
prologue
in classAbstractSuggestionsBuilder
-
startDifference
protected void startDifference(StringBuilder sb)
- Specified by:
startDifference
in classAbstractSuggestionsBuilder
-
endDifference
protected void endDifference(StringBuilder sb)
- Specified by:
endDifference
in classAbstractSuggestionsBuilder
-
startOptionalAttachmentsInComment
protected void startOptionalAttachmentsInComment(StringBuilder sb, String text)
- Specified by:
startOptionalAttachmentsInComment
in classAbstractSuggestionsBuilder
-
endOptionalAttachmentsInComment
protected void endOptionalAttachmentsInComment(StringBuilder sb)
- Specified by:
endOptionalAttachmentsInComment
in classAbstractSuggestionsBuilder
-
epilogue
protected void epilogue(StringBuilder sb)
- Specified by:
epilogue
in classAbstractSuggestionsBuilder
-
-