Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1377

Interfaces and factory methods for loading Clover database

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem:

      Database entities are already in c.a.c.api.registry package.

      However, in order to load the database you have to call an inner class, for example:

      import com.atlassian.clover.CloverDatabase;      // XXX internal class
      import com.atlassian.clover.CoverageDataSpec; // XXX internal class
      import com.atlassian.clover.api.registry.ProjectInfo;
      // ...
      CloverDatabase db = CloverDatabase.loadWithCoverage(args[0], new CoverageDataSpec());
      ProjectInfo projectInfo = db.getRegistry().getProject();
      

      Fix:

      Create proper interfaces and a factory hiding the CoverageDataSpec and CloverDatabase.

            [CLOV-1377] Interfaces and factory methods for loading Clover database

            No work has yet been logged on this issue.

              Unassigned Unassigned
              mparfianowicz Marek Parfianowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: