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 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 Summary
-
Method Summary
-
Constructor Details
-
JarFileClassPathTagMatcher
public JarFileClassPathTagMatcher()
-
-
Method Details
-
findJarsWithMatchingTags
Description copied from interface:BuildParameterBuilder.ClassPathTagMatcher
Finds all JARs that contain any of the given set of tags.- Specified by:
findJarsWithMatchingTags
in interfaceBuildParameterBuilder.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.
-