1 package org.kuali.common.util.execute;
2
3 import java.io.File;
4 import java.util.List;
5
6 import org.kuali.common.util.LocationUtils;
7 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
9
10 public class CopyClasspathLocationsToDirectoryExecutable extends AbstractCopyLocationsExecutable {
11
12 private static final Logger logger = LoggerFactory.getLogger(CopyClasspathLocationsToDirectoryExecutable.class);
13
14 @Override
15 protected List<File> getFiles(List<String> locations) {
16 List<String> filenames = LocationUtils.getClasspathFilenames(locations);
17 logger.debug("Located {} files", filenames.size());
18 return LocationUtils.getFiles(directory, filenames);
19 }
20 }