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, preprocessEntrypublic ModifyUpgradesXmlOperation(Class<? extends UpgradeTask> upgradeTaskClass)
public 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.protected String getGeneratedBuildNumber()
Copyright © 2002-2018 Atlassian. All Rights Reserved.