|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.enforcer.rule.EnforcerPortRule
public class EnforcerPortRule
Constructor Summary | |
---|---|
EnforcerPortRule()
|
Method Summary | |
---|---|
static boolean |
available(int port)
Check port availability. |
void |
execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
|
String |
getCacheId()
If your rule is cacheable, you must return a unique id when parameters or conditions change that would cause the result to be different. |
boolean |
isCacheable()
This tells the system if the results are cacheable at all. |
boolean |
isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule arg0)
If the rule is cacheable and the same id is found in the cache, the stored results are passed to this method to allow double checking of the results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnforcerPortRule()
Method Detail |
---|
public static boolean available(int port)
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
execute
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
org.apache.maven.enforcer.rule.api.EnforcerRuleException
public String getCacheId()
getCacheId
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public boolean isCacheable()
isCacheable
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule arg0)
isResultValid
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |