As a container for components of your application, a RuleSet stores a related group of business rules. It’s what you deploy in your production environment or ship to a customer. RuleSets provide security, version control, and the ability to deploy your application in (or move it to) a different Process Commander environment. You must create a RuleSet before you can build an application.
• Rule-RuleSet-Name – Which defines the RuleSet name and other characteristics
• Rule-RuleSet-Version , which defines the RuleSet Version.
Prerequisite:
When you create a new RuleSet, you can choose to specify an existing RuleSet as its parent or Prerequisite. This designation establishes a rule resolution relationship between it and your RuleSet, which can then inherit and extend existing features and characteristics.In most cases, you should specify Pega-ProCom as a prerequisite fro new RuleSets. This Process Commander RuleSet contains the standard work management capabilities that you use as building blocks for your applications.
Using the checkout feature for version management:
You also choose whether a new RuleSet should enforce version management capabilities for rule changes. This feature protects rules against simultaneous changes and conflicts by requiring you to check out a rule before changing it. Checking out a rule locks it against other changes. Creates a local RuleSet for your personal use, and copies the rule into your personal RuleSet. It also maintains a change history based on information provided when you check the rule back in.
Tip: To cancel a checkout request and unlock the rule without changing it, simply delete the rule instance in your Personal RuleSet.
What is a Class?
Classes are the foundation of any object-oriented programming (OOP) methodology. Both Process Commander classes and traditional Java classes share the following OOP characteristics:
■ You can create a hierarchy of classes. You can get a huge head start on creating an application by subclassing an existing class.
■ Subclasses inherit “methods” and “data” from their superclasses.
■ When you instantiate a subclass, the “constructors” of all its superclasses are automatically called.
■ You can create abstract or concrete classes.
■ A class can inherit from two different parent classes.