Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2231 Documenting how to create and test Forge commands
  3. FORGE-2232

Documenting how to create and test a command that creates Java code

    Details

    • Type: Sub-task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.14.0.Final
    • Fix Version/s: 3.x Future
    • Component/s: Documentation
    • Labels:
      None

      Description

      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 is quite simple. It only generates Java code to a specific directory
      2. A command to create a new package info is a bit tricker because the generate Java code is not a class per-se
      3. A command to create a new constraint validator have several parameters that can be used (type and targetConstraint). The case of the JPA Listener is also important because the command taks a choice of parameters (POST_UPDATE, PRE_PERSIST...)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                agoncal Antonio Goncalves
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: