@Retention(value=RUNTIME) @Target(value={METHOD,TYPE,FIELD}) public @interface UnlessBuildProperty
By default, the bean is not enabled when the build time property is not defined at all, but this behavior is configurable via the {#code enableIfMissing} property.
| Modifier and Type | Required Element and Description |
|---|---|
String |
name
Name of the build time property to check
|
String |
stringValue
The bean is enabled if the build time property (specified by
name) does not match this value. |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enableIfMissing
Determines if the bean is enabled when the property name specified by
name has not been specified at all |
Copyright © 2021 JBoss by Red Hat. All rights reserved.