T - type of the component dependenciespublic interface DependencyAwareComponent<T extends ComponentDependencies>
| Modifier and Type | Method and Description |
|---|---|
default void |
dependencies(Action<? super T> action)
Configure the dependencies of this component.
|
default void |
dependencies(groovy.lang.Closure<Void> closure)
Configure the dependencies of this component.
|
T |
getDependencies()
Returns the dependencies of this component.
|
T getDependencies()
ComponentDependencies, never null.default void dependencies(Action<? super T> action)
action - configuration action for ComponentDependencies.default void dependencies(@DelegatesTo(type="T",strategy=1)
groovy.lang.Closure<Void> closure)
closure - configuration closure for ComponentDependencies.