public static enum AbstractDownloadLicensesMojo.ErrorRemedy extends Enum<AbstractDownloadLicensesMojo.ErrorRemedy>
| Enum Constant and Description |
|---|
failFast
The first encountered error is logged and a
MojoFailureException is thrown |
ignore
All errors are ignored
|
warn
All errors are output to the log as warnings
|
xmlOutput
Error messages are added as
<downloaderMessages> to
AbstractDownloadLicensesMojo.licensesErrorsFile; in case there are error messages, the build will
fail after processing all dependencies. |
| Modifier and Type | Method and Description |
|---|---|
static AbstractDownloadLicensesMojo.ErrorRemedy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractDownloadLicensesMojo.ErrorRemedy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractDownloadLicensesMojo.ErrorRemedy ignore
public static final AbstractDownloadLicensesMojo.ErrorRemedy warn
public static final AbstractDownloadLicensesMojo.ErrorRemedy failFast
MojoFailureException is thrownpublic static final AbstractDownloadLicensesMojo.ErrorRemedy xmlOutput
<downloaderMessages> to
AbstractDownloadLicensesMojo.licensesErrorsFile; in case there are error messages, the build will
fail after processing all dependencies.public static AbstractDownloadLicensesMojo.ErrorRemedy[] values()
for (AbstractDownloadLicensesMojo.ErrorRemedy c : AbstractDownloadLicensesMojo.ErrorRemedy.values()) System.out.println(c);
public static AbstractDownloadLicensesMojo.ErrorRemedy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010–2019 MojoHaus. All rights reserved.