@Mojo(name="check-file-header",
threadSafe=true)
public class CheckFileHeaderMojo
extends AbstractFileHeaderMojo
copyrightOwners, DEFAULT_EXCLUDES, DEFAULT_INCLUDES, DEFAULT_ROOTS, extraTemplateParameters, inceptionYear, organizationName, projectName| Constructor and Description |
|---|
CheckFileHeaderMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isDryRun() |
protected boolean |
isFailOnMissingHeader() |
protected boolean |
isFailOnNotUptodateHeader() |
boolean |
isSkip()
When is sets to
true, will skip execution. |
doAction, initgetCopyrightOwners, getLicense, getLicense, getLicenseName, isKeepBackup, processLicenseContextacceptPackaging, addResourceDir, afterExecute, checkEncoding, checkPackaging, checkSkip, execute, getBuildTimestamp, getEncoding, getProject, getSession, hasClassPath, isVerbose, rejectPackaging, setEncoding, setVerbosepublic boolean isSkip()
AbstractLicenseMojotrue, will skip execution.
This will take effect in at the very begin of the AbstractLicenseMojo.execute()
before any initialisation of goal.isSkip in class AbstractLicenseMojotrue if goal will not be executedprotected boolean isDryRun()
isDryRun in class AbstractFileHeaderMojotrue if mojo must be a simple dry run (says do not modifiy any scanned files), false
otherise.protected boolean isFailOnMissingHeader()
isFailOnMissingHeader in class AbstractFileHeaderMojotrue if mojo should fails if dryRun and there is some missing license header, false
otherwise.protected boolean isFailOnNotUptodateHeader()
isFailOnNotUptodateHeader in class AbstractFileHeaderMojotrue if mojo should fails if dryRun and there is some obsolete license header, false
otherwise.Copyright © 2010–2019 MojoHaus. All rights reserved.