Hey Bruno, not yet. 

We are still working on the APIs as we discover limitations or patterns that can make things simpler/easier to use. In short, things are still changing too much.

Here is an example Rule, however. If you read it, you should get the sense of what it is doing - there are also comments.

https://github.com/windup/windup/blob/master/config/tests/src/test/java/org/jboss/windup/config/JavaExampleRuleProvider.java#L67

On line 96, this is where you would add something that gets render into the report (which is also currently in progress --> this rule renders the index page of the report:

https://github.com/windup/windup/blob/master/reporting/impl/src/main/java/org/jboss/windup/reporting/ApplicationReportRenderingRuleProvider.java#L50

The groovy stuff is still very crude and not worth showing yet, but I'm happy that the Java API keeps getting simpler and more intuitive as we go.

~Lincoln


On Wed, Jul 9, 2014 at 9:16 PM, Bruno Georges <bgeorges@redhat.com> wrote:
Thanks Good progress guys!

Quick question: do we have a “Getting Started” guide to start building rules in Groovy/Java ?

Bruno
On 10/07/2014, at 3:00 am, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:

Minutes:        http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup.2014-07-09-13.49.html

Minutes (text): http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup.2014-07-09-13.49.txt

Log:            http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup.2014-07-09-13.49.log.html


Meeting summary
---------------
* Agenda  (lincolnthree, 13:49:54)

* Status Updates  (lincolnthree, 13:52:22)
  * did a major refactoring yesterday as part of WINDUP-109  (lincolnthree, 13:53:19)
  * fixed the impl/api splits (  (lincolnthree, 13:53:25)
  * moved most of the model classes into rules-java  (lincolnthree,
    13:53:43)
  * groovy java rules tests are not working for some reason but still
    working on that  (lincolnthree, 13:54:07)
  * I have worked on refactoring the project data model classes (as part
    of WINDUP-109)  (jsightler, 13:57:41)
  * I am also working on refactoring our gremlin query API support as
    part of WINDUP-113  (jsightler, 13:58:21)
  * Read wikis for Windup (probably mostly deprecated), Gremlin, Frames
    and watched all the episodes about jboss windup on youtube.
    (mbriskar, 14:03:43)
  * added a method to generalize adding criterions ( WINDUP-112 )
    (mbriskar, 14:04:21)
  * Prepared a prototype rule for java that adds a hint, however it is
    done yet.  (
    https://github.com/mbriskar/windup/commit/0596beb9eb87c0af0e2166b74572549f793d7d04
    )  (mbriskar, 14:06:53)

* Upcoming Alpha2 release goals  (lincolnthree, 14:20:59)
  * Goal 1: Prototype rule format in Java/Groovy - (java is complete,
    groovy in progress)  (lincolnthree, 14:22:11)
  * Goal 2: Begin work on rule distribution/installation/auto-upgrade
    strategy (looks like this goal is not going to make this release)
    (lincolnthree, 14:30:20)
  * Goal 3: Begin to find integration points for tools. This is basically done, but we can't implement until things are a bit more stable.
   


--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev


_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."