public interface ConstructorTarget
Modifier and Type | Method and Description |
---|---|
ConstructorConstraintMappingContext |
constructor(Class<?>... parameterTypes)
Selects a constructor to which the next operations shall apply.
|
ConstructorConstraintMappingContext constructor(Class<?>... parameterTypes)
Until this method is called constraints apply on class level. After calling this method constraints apply to the specified constructor.
A given constructor may only be configured once.
parameterTypes
- The constructor parameter types.Copyright © 2021 JBoss by Red Hat. All rights reserved.