Class ClassTransformerJarProcessor
java.lang.Object
org.basepom.inline.transformer.processor.ClassTransformerJarProcessor
- All Implemented Interfaces:
JarProcessor
A JarProcessor which applies a list of
ClassTransformers to any files ending in .class.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.basepom.inline.transformer.JarProcessor
JarProcessor.Chain<T>, JarProcessor.Holder -
Constructor Summary
ConstructorsConstructorDescriptionClassTransformerJarProcessor(List<ClassTransformer> classTransformers) ClassTransformerJarProcessor(ClassTransformer... classTransformers) -
Method Summary
Modifier and TypeMethodDescriptionprocess(ClassPathResource classPathResource, JarProcessor.Chain<ClassPathResource> chain) scan(ClassPathResource classPathResource, JarProcessor.Chain<ClassPathResource> chain) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.basepom.inline.transformer.JarProcessor
preScan
-
Constructor Details
-
ClassTransformerJarProcessor
-
ClassTransformerJarProcessor
-
-
Method Details
-
scan
@CheckForNull public ClassPathResource scan(@Nonnull ClassPathResource classPathResource, JarProcessor.Chain<ClassPathResource> chain) throws IOException - Specified by:
scanin interfaceJarProcessor- Throws:
IOException
-
process
@CheckForNull public ClassPathResource process(@Nonnull ClassPathResource classPathResource, JarProcessor.Chain<ClassPathResource> chain) throws IOException - Specified by:
processin interfaceJarProcessor- Throws:
IOException
-