Class AddSpringScannerPluginComponent
java.lang.Object
com.atlassian.jira.plugins.ha.container.warhack.operations.AbstractWarOperation
com.atlassian.jira.plugins.ha.container.warhack.operations.AddSpringScannerPluginComponent
- All Implemented Interfaces:
WarOperation
This is necessary so classes annotated with
Component
will be picked up
by the plugin system.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessEntry
(JarEntry entry, InputStream is) Process a file entry in a WAR file.Methods inherited from class com.atlassian.jira.plugins.ha.container.warhack.operations.AbstractWarOperation
additionalFiles, preprocessEntry
-
Constructor Details
-
AddSpringScannerPluginComponent
- Parameters:
componentClass
- class annotated withComponent
- Throws:
IllegalArgumentException
- if the class is not annotated withComponent
-
-
Method Details
-
processEntry
Description copied from interface:WarOperation
Process a file entry in a WAR file.- Specified by:
processEntry
in interfaceWarOperation
- Overrides:
processEntry
in classAbstractWarOperation
- Parameters:
entry
- the entry in the WAR file.is
- the input stream to the original data.- Returns:
- either
is
to leave entry unmodified or a new input stream that filters original data. Returnnull
to not write the entry into the destination WAR file. - Throws:
IOException
- if an I/O error occurs.
-