Package org.springframework.aot.hint
Class ExecutableHint.Builder
java.lang.Object
org.springframework.aot.hint.ExecutableHint.Builder
- Enclosing class:
- ExecutableHint
Builder for
ExecutableHint
.-
Method Summary
Modifier and TypeMethodDescriptionsetModes
(ExecutableMode... modes) Deprecated.withMode
(ExecutableMode mode) Specify that the mode is required.
-
Method Details
-
withMode
Specify that the mode is required.- Parameters:
mode
- the required mode- Returns:
this
, to facilitate method chaining
-
setModes
Deprecated.only a single mode can be set, usewithMode(ExecutableMode)
insteadSet the modes to use.- Parameters:
modes
- the mode to use- Returns:
this
, to facilitate method chaining
-
withMode(ExecutableMode)
instead