Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2709

Use a custom class instead of strings for specifying a project template

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 10.3.0.AM1, 10.3.0
    • 10.2.0.AM2
    • QE
    • None

      Use a custom class instead of strings for specifying a project template. Instead of

      FuseProjectTestLong
      String[] templateComposite = template.split(":");
      ProjectType type = BLUEPRINT;
      if (templateComposite[1].startsWith("spring"))
      	type = SPRING;
      if (templateComposite[1].startsWith("java"))
      	type = JAVA;
      

      use a class.

              tsedmik Tomáš Sedmík
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: