public interface ContainerMatcher
ModuleDescriptor
to one of the candidate container nodes.Modifier and Type | Method and Description |
---|---|
java.util.Collection<Container> |
match(ModuleDescriptor moduleDescriptor,
ModuleDeploymentProperties deploymentProperties,
java.lang.Iterable<Container> containers)
Matches the provided module against one of the candidate containers.
|
java.util.Collection<Container> match(ModuleDescriptor moduleDescriptor, ModuleDeploymentProperties deploymentProperties, java.lang.Iterable<Container> containers)
moduleDescriptor
- the module to match againstdeploymentProperties
- deployment properties for the module; this provides
hints such as the number of containers and other
matching criteriacontainers
- iterable list of containers to match against