@CompileStatic class RequireJavaVersion extends AbstractVersionEnforcerRule
This rule checks that the Java version is allowed.
Adapted from org.apache.maven.plugins.enforcer.RequireJavaVersion
.
Original author: Brian Fox
Constructor and description |
---|
RequireJavaVersion
(ObjectFactory objects) |
Type Params | Return Type | Name and description |
---|---|---|
|
org.apache.maven.artifact.versioning.ArtifactVersion |
detectVersion(EnforcerContext context) |
Methods inherited from class | Name |
---|---|
class AbstractVersionEnforcerRule |
containsVersion |
class AbstractFilteringEnforcerRule |
execute, setPhases |
class AbstractEnforcerRule |
execute, setEnforcerLevel, validate |