[forge-issues] [JBoss JIRA] (FORGE-2232) Documenting how to create and test a command that creates Java code

George Gastaldi (JIRA) issues at jboss.org
Wed Feb 11 08:35:49 EST 2015


     [ https://issues.jboss.org/browse/FORGE-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FORGE-2232 started by George Gastaldi.
----------------------------------------------
> Documenting how to create and test a command that creates Java code
> -------------------------------------------------------------------
>
>                 Key: FORGE-2232
>                 URL: https://issues.jboss.org/browse/FORGE-2232
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Documentation
>    Affects Versions: 2.14.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 2.x Future
>
>
> The idea is to document commands that create new code ({{new}} commands). There are several level of complexity and we should go step by step :
> 1. A command to create a [new constraint payload|FORGE-1620] is quite simple. It only generates Java code to a specific directory
> 2. A command to create a [new package info|FORGE-2071] is a bit tricker because the generate Java code is not a class per-se
> 3. A command to create a [new constraint validator|FORGE-1618] have several parameters that can be used ({{type}} and {{targetConstraint}}). The case of the [JPA Listener|FORGE-2093] is also important because the command taks a choice of parameters ({{POST_UPDATE}}, {{PRE_PERSIST}}...)



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list