-
Feature Request
-
Resolution: Done
-
Major
-
1.1.1
-
None
-
None
The Submit class looks to be more of a "script" client rather than a Java client that can be embedded in other Java apps.
I would like to request that Submit be refactored or another class be created such that I can use it as a client that I embed in my own Java app.
Right now, Submit dumps everything to stdout. I would like that interface to be more amenable to being called from other Java objects, not from a shell. So, I would like an API like:
a) "ping" - can Submit connect with the TransportListener
b) "list" - return a List<String> of all rules (or better yet, Map<String,String> keyed on rule name)
c) "update" - I pass in a List<String> consisting of rules
etc.