use of com.linkedin.data.schema.compatibility.CompatibilityMessage in project rest.li by linkedin.
the class PegasusSchemaSnapshotCompatibilityChecker method constructCompatibilityMessage.
private void constructCompatibilityMessage(CompatibilityMessage.Impact impact, String format, Object... args) {
CompatibilityMessage message = new CompatibilityMessage(new Object[] {}, impact, format, args);
_infoMap.addModelInfo(message);
}
use of com.linkedin.data.schema.compatibility.CompatibilityMessage in project rest.li by linkedin.
the class ExtensionSchemaAnnotationHandler method appendCompatibilityMessage.
private void appendCompatibilityMessage(AnnotationCompatibilityResult result, CompatibilityMessage.Impact impact, String message, String context, PathSpec pathSpec) {
CompatibilityMessage compatibilityMessage = new CompatibilityMessage(pathSpec, impact, message, context);
result.addMessage(compatibilityMessage);
}
Aggregations