Type Params | Return Type | Name and description |
---|---|---|
|
Property<Boolean> |
getEnabled() Whether enforcer behavior is enabled or not. |
|
Property<Boolean> |
getFailFast() Whether the enforce should fail the build on the first rule violation. |
|
Property<Boolean> |
getWarnings() Whether to output warnings or silence them. |
|
void |
setEnforcerLevel(EnforcerLevel level) |
|
void |
setEnforcerLevel(String level) |
|
void |
setMergeStrategy(MergeStrategy mergeStrategy) |
|
void |
setMergeStrategy(String mergeStrategy) |
Whether the enforce should fail the build on the first rule violation. Defaults to true
.