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 the
CustomizationConfig.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 (in CodeWriter
) that their models are compatible with each other.-
Constructor Details
-
SharedModelsTaskParamsValidator
public SharedModelsTaskParamsValidator()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<GeneratorTaskParams>
-