Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689998000/b07a5f6e-ba97-4d67-a262-3a15adc58a21.jpg?itok=GkBQXgIh)
Morgan Stanley
IN
Last activity: 5 Sep 2019 16:58 EDT
PublicAPI Interface in Pega (Engine APIs)
Hi All,
I need some information on Engine APIs. Can anyone help me understand why getPublicAPI() function is called before using the methods present in PublicAPI interface?
"PublicAPI tools = pega_rules_utilities.getPublicAPI();"
From Pega help site I found the below information.
The PublicAPI
interface identifies the basic functionality available to all Java generated from defining Rule- instances. It maintains an execution context, associated with a particular PRThread
, which varies during the course of processing.
Thanks in Advance,Snehasis.