I haven't found a method in the API that produces details of a specific policy, which would be the equivalent of this REST method:
curl -X GET http://localhost:4415/apiv2/servers/MyServer1/policies/DefaultPolicies/policy/ErrorEmailProperties
The Java method would be invoked by a running application, where the REST call would be inappropriate.
Formerly in v10, this could be accomplished by recalling the details of, for example, a UserDefined configurable service. If the config svc is migrated to a user-defined policy, it would be necessary to extract the details of the policy.
I see the PolicyProjects getPolicies() which returns a list of policy projects.
------------------------------
Stephen Weinfield
------------------------------