Class SharedModelsTaskParamsValidator
- java.lang.Object
-
- software.amazon.awssdk.codegen.emitters.tasks.SharedModelsTaskParamsValidator
-
- All Implemented Interfaces:
Consumer<GeneratorTaskParams>
public class SharedModelsTaskParamsValidator extends Object implements Consumer<GeneratorTaskParams>
This validates that services with theCustomizationConfig.shareModelConfig
attribute specified are being generated after the service they are attempting to share models with. This ensures that the services are kept together in the same module and allows us to verify (inCodeWriter
) that their models are compatible with each other.
-
-
Constructor Summary
Constructors Constructor Description SharedModelsTaskParamsValidator()
-
-
-
Method Detail
-
accept
public void accept(GeneratorTaskParams params)
- Specified by:
accept
in interfaceConsumer<GeneratorTaskParams>
-
-