public class JenkinsWarPatcher extends PackagerBase
config, mavenHelper| Constructor and Description |
|---|
JenkinsWarPatcher(Config config,
File src,
File dstDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHook(GroovyHookInfo hook,
File path) |
JenkinsWarPatcher |
addHooks(Map<String,File> hooks) |
JenkinsWarPatcher |
addSystemProperties(Map<String,String> systemProperties)
Adds or modifies system properties in
WEB-INF/web.xml. |
JenkinsWarPatcher |
excludeLibs() |
JenkinsWarPatcher |
removeMetaInf() |
JenkinsWarPatcher |
replaceLibs(Map<String,String> versionOverrides) |
public JenkinsWarPatcher(@Nonnull Config config, @Nonnull File src, @Nonnull File dstDir) throws IOException
IOExceptionpublic JenkinsWarPatcher removeMetaInf() throws IOException
IOExceptionpublic JenkinsWarPatcher replaceLibs(Map<String,String> versionOverrides) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic JenkinsWarPatcher excludeLibs() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic JenkinsWarPatcher addHooks(@Nonnull Map<String,File> hooks) throws IOException
IOExceptionpublic void addHook(@Nonnull GroovyHookInfo hook, File path) throws IOException
IOExceptionpublic JenkinsWarPatcher addSystemProperties(@CheckForNull Map<String,String> systemProperties) throws IOException
WEB-INF/web.xml.systemProperties - System propertiesthis instance.IOException - Failed to read or modify the fileCopyright © 2004–2018. All rights reserved.