package org.bundlemaker.core.project.spi;
import java.util.List;
import org.bundlemaker.core.internal.resource.ModuleAwareMovableUnit;
import org.bundlemaker.core.project.IMovableUnit;
import org.bundlemaker.core.project.IProjectContentResource;
/**
* <p>
* </p>
*
* @author Gerd Wütherich (gerd@gerd-wuetherich.de)
*/
public abstract class AbstractMovableUnitCreator implements IMovableUnitCreator {
/**
* <p>
* </p>
*
* @param sourceResource
* @param binaryResources
* @return
*/
protected IMovableUnit createMovableUnit(IProjectContentResource sourceResource,
List<IProjectContentResource> binaryResources) {
//
return new ModuleAwareMovableUnit(sourceResource, binaryResources);
}
/**
* <p>
* </p>
*
* @param sourceResource
* @param binaryResources
* @return
*/
protected IMovableUnit createMovableUnit(IProjectContentResource sourceResource,
IProjectContentResource binaryResource) {
//
return new ModuleAwareMovableUnit(sourceResource, binaryResource);
}
}