Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1926 Adding more commands to Forge and improve existing ones
  3. FORGE-2484

java-new-enum-const should follow the naming convention

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Minor
    • 3.0.0.Beta2
    • 2.19.1.Final
    • Java EE
    • None

    Description

      At the moment to add a new constant to an enum we type :

      java-new-enum-const VISA ;
      

      To follow the other commands, it should have a named parameter

      java-new-enum-const --named VISA ;
      java-new-enum-const --named MASTER_CARD ;
      java-new-enum-const --named AMERICAN_EXPRESS ;
      

      Changing new to add we could end up with :

      java-add-enum-const --named VISA ;
      java-add-enum-const --named MASTER_CARD ;
      java-add-enum-const --named AMERICAN_EXPRESS ;
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: