use of alien4cloud.events.LocationTypeIndexed in project alien4cloud by alien4cloud.
the class PluginArchiveIndexer method publishLocationTypeIndexedEvent.
private void publishLocationTypeIndexedEvent(Collection<NodeType> collection, IOrchestratorPluginFactory orchestratorFactory, Location location) {
if (CollectionUtils.isNotEmpty(collection)) {
for (NodeType nodeType : collection) {
LocationTypeIndexed event = new LocationTypeIndexed(this);
event.setNodeType(nodeType);
event.setLocation(location);
event.setOrchestratorFactory(orchestratorFactory);
applicationContext.publishEvent(event);
}
}
}
Aggregations