Skip to content

Commit

Permalink
Add builderMode to options doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Randgalt committed Jan 5, 2024
1 parent 9fc790a commit db261e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ The names used for generated methods, classes, etc. can be changed via the follo
| `@RecordBuilder.Options(inheritComponentAnnotations = true/false)` | If true, any annotations (if applicable) on record components are copied to the builder methods. The default is `true`. |
| `@RecordBuilder.Options(addConcreteSettersForOptional = true/false)` | Add non-optional setter methods for optional record components. The default is `false`. |
| `@RecordBuilder.Options(useValidationApi = true/false)` | Pass built records through the Java Validation API if it's available in the classpath. The default is `false`. |
| `@RecordBuilder.Options(builderMode = BuilderMode.XXX)` | Whether to add standard builder, staged builder or both. The default is `BuilderMode.STANDARD`. |

## Default Values / Initializers

Expand Down

0 comments on commit db261e0

Please sign in to comment.