package alien4cloud.deployment.matching.plugins; import java.util.List; import alien4cloud.model.deployment.matching.ILocationMatch; import org.alien4cloud.tosca.model.templates.Topology; import alien4cloud.paas.exception.LocationMatchingException; /** * Locations matcher beans. From a topology, gives a list of matchable locations, and eventually matching reasons. */ public interface ILocationMatcher { /** * Match a topology to one or several locations * * @param topology * @return List od {@link alien4cloud.model.deployment.matching.ILocationMatch} representing the locations on which the topology can be deployed * @throws LocationMatchingException */ List<ILocationMatch> match(Topology topology) throws LocationMatchingException; }