On 2014-07-17 19:06, Alex Wacker wrote:
I appreciate the help. I was able to get connected

One final question. In the example in the readme below methods such as 'eq', 'or' and 'and' are called. Are these defined anywhere in the library as they are missing for me currently?

List<Resource>  classes  =  client.getResources(
     or(eq(Resource.TITLE,  "main"),  eq(Resource.TITLE,  "Settings")));

They are defined in com.puppetlabs.puppetdb.javaclient.query.Query. In order to write code like in the example, try using:

import static com.puppetlabs.puppetdb.javaclient.query.Query.*;

- thomas

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/53C8C2AC.30206%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to