Getting the Project

Prerequisites

You have got the Rules API instance.

Procedure

Enter the name of the project that you want to open.

            String projectName = "Sample Project";
IProject project = api.getProject(projectName);
         

Result

You get the desired project instance.