Package software.amazon.smithy.cli
Class BuildParameterBuilder.JarFileClassPathTagMatcher
- java.lang.Object
- 
- software.amazon.smithy.cli.BuildParameterBuilder.JarFileClassPathTagMatcher
 
- 
- All Implemented Interfaces:
- BuildParameterBuilder.ClassPathTagMatcher
 - Enclosing class:
- BuildParameterBuilder
 
 public static final class BuildParameterBuilder.JarFileClassPathTagMatcher extends java.lang.Object implements BuildParameterBuilder.ClassPathTagMatcher Finds JARs by opening each JAR in the classpath and looking for "Smithy-Tags" in the META-INF/MANIFEST.MF file.
- 
- 
Constructor SummaryConstructors Constructor Description JarFileClassPathTagMatcher()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>findJarsWithMatchingTags(java.util.Set<java.lang.String> classpath, java.util.Set<java.lang.String> tagsToFind)Finds all JARs that contain any of the given set of tags.
 
- 
- 
- 
Method Detail- 
findJarsWithMatchingTagspublic java.util.Set<java.lang.String> findJarsWithMatchingTags(java.util.Set<java.lang.String> classpath, java.util.Set<java.lang.String> tagsToFind)Description copied from interface:BuildParameterBuilder.ClassPathTagMatcherFinds all JARs that contain any of the given set of tags.- Specified by:
- findJarsWithMatchingTagsin interface- BuildParameterBuilder.ClassPathTagMatcher
- Parameters:
- classpath- Set of paths to JARs to search.
- tagsToFind- Tags to search for in the classpath.
- Returns:
- Returns the matching JARs in the classpath.
 
 
- 
 
-