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 Summary
Constructors Constructor Description JarFileClassPathTagMatcher()
-
Method Summary
All 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
-
findJarsWithMatchingTags
public 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.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.
-
-