@Override
public ArtifactSet link(TreeLogger logger, LinkerContext context,
ArtifactSet artifacts, boolean onePermutation)
throws UnableToCompleteException {
ConfigurationProperty leaveOriginalsProp = findProperty(logger,
context.getConfigurationProperties(), PROP_LEAVE_ORIGINALS);
boolean leaveOriginals = Boolean.valueOf(leaveOriginalsProp.getValues().get(
0));
PrecompressFilter filter = new PrecompressFilter(logger.branch(
TreeLogger.TRACE, "Analyzing the path patterns"), findProperty(logger,
context.getConfigurationProperties(), PROP_PATH_REGEXES).getValues());