Class AddedOperationInputOutput
- java.lang.Object
 - 
- software.amazon.smithy.diff.evaluators.AddedOperationInputOutput
 
 
- 
- All Implemented Interfaces:
 DiffEvaluator
public final class AddedOperationInputOutput extends java.lang.Object implements DiffEvaluator
Meta-validator that emits a NOTE when a backward compatible operation input or output is added (AddedOperationInput and AddedOperationOutput), and an ERROR when a breaking operation input is added using the same event IDs.TODO: Also check for the addition of streaming and event streams.
 
- 
- 
Constructor Summary
Constructors Constructor Description AddedOperationInputOutput() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ValidationEvent>evaluate(Differences differences)Returns validation events given two models and the detected differences between them. 
 - 
 
- 
- 
Method Detail
- 
evaluate
public java.util.List<ValidationEvent> evaluate(Differences differences)
Description copied from interface:DiffEvaluatorReturns validation events given two models and the detected differences between them.- Specified by:
 evaluatein interfaceDiffEvaluator- Parameters:
 differences- Detected differences.- Returns:
 - Returns validation events that are relative to the new model.
 
 
 - 
 
 -