1 package org.openecomp.sdc.be.components.merge;
3 import org.openecomp.sdc.be.dao.api.ActionStatus;
4 import org.openecomp.sdc.be.model.Component;
6 public interface ComponentsMergeCommand {
9 * encapsulates the logic of merging component inner entities from the previous component into the currently updated component
10 * @param prevComponent the old component, whose entities need to be merged
11 * @param currentComponent the new component, whose entities need to be merged
12 * @return the status of the merge process
14 ActionStatus mergeComponents(Component prevComponent, Component currentComponent);
18 * @return short description of the command for logging purposes