[forge-issues] [JBoss JIRA] (FORGE-1750) Create command to generate getters and setters for a given Java source file using the builder pattern

Matej Briskar (JIRA) issues at jboss.org
Tue Apr 29 11:10:33 EDT 2014


    [ https://issues.jboss.org/browse/FORGE-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964455#comment-12964455 ] 

Matej Briskar edited comment on FORGE-1750 at 4/29/14 11:08 AM:
----------------------------------------------------------------

>From now on it looks probably like this then: 
1) Connect with the FORGE-1749, use a flag --builder.
2) If some other getters/setter were created before the command and they do not follow the selected builder/non-builder way, ask using prompt if they should be removed or added 
3) For builder methods, use "with..." method naming
4) No constructor manipulation, nor adding the static newInstance method.
                
      was (Author: mbriskar):
    From now on it looks probably like this then: 
1) Connect with the FORGE-1749, use a flag --builder.
2) If some other getters/setter were created before the command and they do not follow the selected builder/non-builder way, ask using prompt if they should be removed or added 
3) For builder methods, use "with..." method naming
                  
> Create command to generate getters and setters for a given Java source file using the builder pattern
> -----------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-1750
>                 URL: https://issues.jboss.org/browse/FORGE-1750
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Builtin Plugins, Java EE
>    Affects Versions: 2.4.1.Final
>            Reporter: Lincoln Baxter III
>            Assignee: Matej Briskar
>              Labels: starter
>             Fix For: 2.x Future
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list