|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.enforcer.RequireProperty
public class RequireProperty
This rule checks that certain properties are set.
| Field Summary | |
|---|---|
java.lang.String |
message
Specify a warning message if the property is not set. |
java.lang.String |
property
Specify the required property. |
java.lang.String |
regex
Match the property value to a given regular expresssion. |
java.lang.String |
regexMessage
Specify a warning message if the regular expression is not matched. |
| Constructor Summary | |
|---|---|
RequireProperty()
|
|
| Method Summary | |
|---|---|
void |
execute(org.apache.maven.shared.enforcer.rule.api.EnforcerRuleHelper helper)
Execute the rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String property
public java.lang.String message
public java.lang.String regex
public java.lang.String regexMessage
| Constructor Detail |
|---|
public RequireProperty()
| Method Detail |
|---|
public void execute(org.apache.maven.shared.enforcer.rule.api.EnforcerRuleHelper helper)
throws org.apache.maven.shared.enforcer.rule.api.EnforcerRuleException
execute in interface org.apache.maven.shared.enforcer.rule.api.EnforcerRuleorg.apache.maven.shared.enforcer.rule.api.EnforcerRuleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||