Class 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.