Class RoutingTarget.RoutingTargetBuilder
java.lang.Object
org.springframework.modulith.events.RoutingTarget.RoutingTargetBuilder
- Enclosing class:
- RoutingTarget
An intermediary to ultimately create
RoutingTarget instances.- Since:
- 1.1
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionReturns a newRoutingTargetwith the already configured target and the given key.Returns a newRoutingTargetwithout a key.
-
Method Details
-
andKey
Returns a newRoutingTargetwith the already configured target and the given key.- Parameters:
key- must not be null.- Returns:
- will never be null.
-
withoutKey
Returns a newRoutingTargetwithout a key.- Returns:
- will never be null.
-