@Component(role=ServiceFileCombiner.class) public class ServiceFileCombinationImpl extends Object implements ServiceFileCombiner
| Constructor and Description |
|---|
ServiceFileCombinationImpl() |
| Modifier and Type | Method and Description |
|---|---|
private void |
combine(MavenProject project,
List<String> patterns,
Log logger,
List<File> dependencies)
The method to perform the service provider combining
|
private static List<String> |
computeOutput(List<String> local,
Set<String> fromDeps) |
void |
doCombine(ServiceFileCombinationConfig config)
Applies the combination strategy.
|
private static Map<String,List<List<String>>> |
findDescriptorsFromDependencies(List<File> deps,
List<String> patterns) |
private static Map<String,List<String>> |
findLocalDescriptors(MavenProject project,
List<String> patterns) |
private static Map<org.jboss.shrinkwrap.api.ArchivePath,org.jboss.shrinkwrap.api.Node> |
getMatchingFilesFromJar(List<String> patterns,
org.jboss.shrinkwrap.api.spec.JavaArchive archive) |
private List<String> |
merge(MavenProject project,
String name,
List<String> local,
List<List<String>> deps) |
private static List<String> |
read(org.jboss.shrinkwrap.api.asset.Asset asset,
String path) |
public void doCombine(ServiceFileCombinationConfig config)
ServiceFileCombinerdoCombine in interface ServiceFileCombinerconfig - the non-null configurationprivate void combine(MavenProject project, List<String> patterns, Log logger, List<File> dependencies)
project - the Maven projectpatterns - the set of patternslogger - the loggerdependencies - the dependenciesprivate List<String> merge(MavenProject project, String name, List<String> local, List<List<String>> deps)
private static Map<String,List<String>> findLocalDescriptors(MavenProject project, List<String> patterns)
private static Map<String,List<List<String>>> findDescriptorsFromDependencies(List<File> deps, List<String> patterns)
Copyright © 2018. All rights reserved.