public class ModifyUpgradesXmlOperation extends AbstractWarOperation
Constructor and Description |
---|
ModifyUpgradesXmlOperation(Class<? extends UpgradeTask> upgradeTaskClass) |
Modifier and Type | Method and Description |
---|---|
protected String |
getGeneratedBuildNumber() |
InputStream |
processEntry(JarEntry entry,
InputStream is)
Process a file entry in a WAR file.
|
additionalFiles, preprocessEntry
public ModifyUpgradesXmlOperation(Class<? extends UpgradeTask> upgradeTaskClass)
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.protected String getGeneratedBuildNumber()
Copyright © 2002-2020 Atlassian. All Rights Reserved.