Module org.refcodes.decoupling
Package org.refcodes.decoupling
Interface DependencyAccessor.DependencyBuilder<T,B extends DependencyAccessor.DependencyBuilder<T,B>>
- Type Parameters:
T
- The generic type of the dependency.B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- DependencyAccessor<T>
public static interface DependencyAccessor.DependencyBuilder<T,B extends DependencyAccessor.DependencyBuilder<T,B>>
Provides a builder method for a dependency property returning the builder
for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithDependency
(Dependency<T> aDependency) Sets the dependency for the dependency property.
-
Method Details
-
withDependency
Sets the dependency for the dependency property.- Parameters:
aDependency
- The dependency to be stored by the dependency property.- Returns:
- The builder for applying multiple build operations.
-