public class AddSpringScannerPluginComponent extends AbstractWarOperation
Component will be picked up
by the plugin system.| Constructor and Description |
|---|
AddSpringScannerPluginComponent(Class<?> componentClass) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
processEntry(JarEntry entry,
InputStream is)
Process a file entry in a WAR file.
|
additionalFiles, preprocessEntrypublic AddSpringScannerPluginComponent(Class<?> componentClass)
componentClass - class annotated with ComponentIllegalArgumentException - if the class is not annotated with Componentpublic InputStream processEntry(JarEntry entry, InputStream is) throws IOException
WarOperationprocessEntry in interface WarOperationprocessEntry in class AbstractWarOperationentry - the entry in the WAR file.is - the input stream to the original data.is to leave entry unmodified or a new input stream that filters original data.
Return null to not write the entry into the destination WAR file.IOException - if an I/O error occurs.Copyright © 2002-2019 Atlassian. All Rights Reserved.