spring-framework / org.springframework.scheduling.quartz / SpringBeanJobFactory / setIgnoredUnknownProperties

setIgnoredUnknownProperties

open fun setIgnoredUnknownProperties(vararg ignoredUnknownProperties: String): Unit

Specify the unknown properties (not found in the bean) that should be ignored.

Default is null, indicating that all unknown properties should be ignored. Specify an empty array to throw an exception in case of any unknown properties, or a list of property names that should be ignored if there is no corresponding property found on the particular job class (all other unknown properties will still trigger an exception).