Search in sources :

Example 1 with CompatibilityMessage

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);
}
Also used : CompatibilityMessage(com.linkedin.data.schema.compatibility.CompatibilityMessage)

Example 2 with CompatibilityMessage

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);
}
Also used : CompatibilityMessage(com.linkedin.data.schema.compatibility.CompatibilityMessage)

Aggregations

CompatibilityMessage (com.linkedin.data.schema.compatibility.CompatibilityMessage)2