2.7. Project Editor
2.7.1. The Project Editor
2.7.2. Project Settings
The Project settings screen allows a user to set the Group, Artifact, and Version ID's for a project. It edits the pom.xml setting file since we use Maven to build our projects.

Figure 2.5. Project Editor - Project Settings
The Dependencies option allows you to set the dependencies for the current project. You access the dependencies by using → option. You can add dependencies from the Artifact repository by clicking the button or by entering the Group ID, Artifact ID and Version ID of a project directly by clicking on the button.

Figure 2.6. Project Editor - Project Dependencies
The Metadata screen displays the generic data and version history of a project. It allows a user to edit other metadata details, add descriptions, and participate in discussions which are specific to a selected asset. You can assign categories to assets by clicking the plus icon
next to the → option. By opening an asset, you will see a list of the categories it currently belongs to. If you edit the asset, you will need to save your changes for future execution. Within the section is a list of attributes:
by- Who made the last change.Note- Comment from the last asset update.Created on- The date and time the asset was created.Created by- The name of the original asset author.Format- Short format name of the asset type.URI- Unique identifier of the asset.
Subject, Type, External Link and Source options for the asset.
2.7.3. Knowledge Base Settings
The Knowledge Base Settings allows the user to create the KIE bases and sessions using the kmodule.xml project descriptor file of your project. Accordingly, it edits the kmodule.xml project setting file.

Figure 2.7. Project Editor - Knowledge Base Settings
Identity or Equality assertion modes.
Identityuses anIdentityHashMapto store all asserted objects.
Equalityuses aHashMapto store all asserted objects.
Note
Identity and Equality assertion modes.
Cloud and Stream processing modes.
Cloudprocessing mode is the default processing mode. It behaves in the same manner as any pure forward-chaining rules engine.Streamprocessing mode is ideal when the application needs to process streams of events.
Note
Cloud and Stream processing modes.
button, you are able to add a new knowledge session to the table.
- The
Namefield displays the name of the session. - The
Defaultoption can only be allocated to one of each type of session. - The
Statedrop-down allows either Stateless or Stateful types. - The
Clockdrop-down allows either Realtime or Pseudo choices. - Clicking the
opens a pop-up that displays more properties for the knowledge session.
Please refer to Section 2.7.2, “Project Settings” for more information about Metadata.

Figure 2.8. Knowledge Base Settings - Metadata
2.7.4. Imports
The Import suggestions specify a set of imports used in the project. Each asset in a project has its own imports. The imports are used as suggestions when using the guided editors the workbench offers; accordingly, this makes it easier to work with the workbench as there is no need to type each import in every file that uses it. By changing the Import settings, the project.imports setting files are edited.

Figure 2.9. Project Editor - Imports
button. This displays a pop-up dialog to Add Import information. Once the Import Type has been entered, press OK.
button.
Note
Please refer to Section 2.7.2, “Project Settings” for more information about Metadata.

Figure 2.10. Imports - Metadata

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.