[forge-users] How Forge knows which facet to be used ?

George Gastaldi ggastald at redhat.com
Tue May 30 09:59:47 EDT 2017


If the Facet.isInstalled() method returns true, then Forge assumes that it
is installed in the current project.

A new JPAFacet impl should only be created when a new JPA spec version is
out.

Em 30 de mai de 2017 10:05, "Charles Moulliard" <cmoullia at redhat.com>
escreveu:

Hi,

I'm wondering how Forge knows which facet it should use if by example we
have these classes defined under this package : org.jboss.forge.addon.
javaee.jpa

JPAFacetImpl_2_0
JPAFacetImpl_2_1

What do you suggest to do if I would to add a new JPAFacetImpl ?

Regards,

Charles

_______________________________________________
forge-users mailing list
forge-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170530/b7f862d1/attachment.html 


More information about the forge-users mailing list