public final class WarFile extends Object
Constructor and Description |
---|
WarFile(ZipFile file)
Creates an instance of WarFile.
|
Modifier and Type | Method and Description |
---|---|
void |
checkEbextensionsValidity()
Verifies that the .ebextensions contains valid configuration file or
files.
|
public WarFile(ZipFile file)
file
- The location of the WAR file.public void checkEbextensionsValidity() throws MojoFailureException
MojoFailureException
- Thrown, if the
.ebextensions does not exist in the WAR file, is empty or one of its
files is neither valid JSON, nor valid YAML.Copyright © 2012–2015 jcabi.com. All rights reserved.