Re: [Codenarc-developer] how do I write a new rule that is disabled by default?
Brought to you by:
chrismair
From: <chr...@wa...> - 2011-01-11 14:13:46
|
Hamlet, Options include: (1) Override the isReady() method to dynamically return true only if the necessary preconditions are satisfied (see RequiredRegexRule, for instance). (2) In the rule constructor, set enabled property to false. Chris Hamlet DArcy <ham...@ca...> 01/11/2011 09:05 AM To cod...@li... cc Subject [Codenarc-developer] how do I write a new rule that is disabled by default? How do I add a new rule that is disabled by default? It is a rule that is valid but most people do not want it. Thanks, -- Hamlet D'Arcy ham...@ca... ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Codenarc-developer mailing list Cod...@li... https://lists.sourceforge.net/lists/listinfo/codenarc-developer ForwardSourceID:NT000F460A |