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, preprocessEntry
public AddSpringScannerPluginComponent(Class<?> componentClass)
componentClass
- class annotated with Component
IllegalArgumentException
- if the class is not annotated with Component
public InputStream processEntry(JarEntry entry, InputStream is) throws IOException
WarOperation
processEntry
in interface WarOperation
processEntry
in class AbstractWarOperation
entry
- 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.