commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: [CLI] Version 2.0 - API
Date Tue, 04 Mar 2003 17:01:23 GMT
> > OptionBuilder.isMandatory() returns an OptionBuilder.  Normally "is" 
>methods
> > return a boolean.  The factory methods in this class (and 
>ArgumentBuilder)
> > should probably all start with "create" for clarity (ie. 
>createWithChild()).
>Yeah I know what you're saying.  What would you name the required method
>though?

I'm not sure what the OptionBuilder returned from 
OptionBuilder.isMandatory() is supposed to represent/do.  Maybe 
createRequired() would work?

David


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message