Package org.jsignal.prop
Annotation Interface Prop
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleando not generate a constant setter for this propertybooleanensures that only one simple setter is generated, meant for disambiguating Supplier type props that should not be reactivewhen at least one of a set of props needs to be assigned a valuebooleanspecifies that a prop needs to be setWhen the inner type of a Supplier prop is assignable to Supplier the setter needs to be named differently because Java will not be able to do operator overloading.
-
Element Details
-
required
boolean requiredspecifies that a prop needs to be set- Default:
false
-
oneofKey
String oneofKeywhen at least one of a set of props needs to be assigned a value- Default:
""
-
suffix
String suffixWhen the inner type of a Supplier prop is assignable to Supplier the setter needs to be named differently because Java will not be able to do operator overloading. This suffix can be changed in order to avoid name clashes with other properties.- Default:
"Const"
-
noRx
boolean noRxensures that only one simple setter is generated, meant for disambiguating Supplier type props that should not be reactive- Default:
false
-
noConst
boolean noConstdo not generate a constant setter for this property- Default:
false
-