pega tools

I have 2 questions:
1) Can you tell me, how Pega define which package it`ll use for methods?
On first pic (correspondenceRule.png) I have method tools.getDatabase(), as I understand, I can find short description of methods in Resources > Engine API,
and there were 4 methods with name getDatabase() (another pic, methods.png), which different only with their package, so the question is: how Pega defines which method it`ll use?
2) What tools exactly? Did I get it right, that tools just a class with various methods and ALL these methods I can find in Engine API, or there another place for this?
Does Pega have another class I should know if I want to use java steps? (here a little bit more than 2 questions, sorry)


Keep up to date on this post and subscribe to comments

June 25, 2019 - 9:20am

The keyword tools is used to identify the PublicAPI

To find information about tools.getDatabase(), I open the EngineAPI and select PublicAPI from the class list on the left hand side. Then I select the getDatabase method to view the details.