Can also use jsr303 groups. Not sure it's worth it here though. see eg AggregatorProcessorModuleOptionsMetadata