Schnittstelle DependenciesMetadata<T extends DependencyMetadata>

Typparameter:
T - type of the dependency metadata in this collection
Alle Superschnittstellen:
Collection<T>, Iterable<T>
Alle bekannten Unterschnittstellen:
DependencyConstraintsMetadata, DirectDependenciesMetadata

public interface DependenciesMetadata<T extends DependencyMetadata> extends Collection<T>
Describes metadata about a dependency - direct dependencies or dependency constraints - declared in a resolved component's metadata.
Seit:
4.4
  • Methodendetails

    • add

      void add(String dependencyNotation)
      Add a dependency or a dependency constraint using the string notation: group:name:version.
      Parameter:
      dependencyNotation - the dependency
    • add

      void add(Map<String,String> dependencyNotation)
      Add a dependency or a dependency constraint using the map notation: group: group, name: name, version: version.
      Parameter:
      dependencyNotation - the dependency
    • add

      void add(String dependencyNotation, Action<? super T> configureAction)
      Add a dependency or a dependency constraint using the string notation: group:name:version.
      Parameter:
      dependencyNotation - the dependency
      configureAction - action to configure details of the dependency - see DependencyMetadata
    • add

      void add(Map<String,String> dependencyNotation, Action<? super T> configureAction)
      Add a dependency or a dependency constraint using the map notation: group: group, name: name, version: version.
      Parameter:
      dependencyNotation - the dependency
      configureAction - action to configure details of the dependency - see DependencyMetadata