Action Processor Editor

Use the Action Processor editor to define an action processor entity. In the Studio Projects view, double-click an action processor entity to open the Action Processor editor. You can create the editor using the Action Processor Wizard.

When working with the Action Processor editor, see the following topics:

Action Processor Editor Editor Tab

Use the Editor tab for defining the parameters and generating the code for an action processor. In the Action Processor Properties area, you can define the values for an action processor entity.

Field Use
Description Specify a description for the Action Processor editor.
Vendor, Technology, and Software Load Displays the vendor, technology, and software load for the action processor entity in the cartridge project.
Action Specify or select an action for the action processor.

Note: If an action is not in use by any action processor in any cartridge in the Design Studio workspace, enter the action in the Action list.

Type Select any one of the following types from the list:
  • Java Action Processor (with Code Generation)

    This type is the default value and recommended. Based on the selected action, this type generates a basic class and the skeleton of a method required for an action processor.

  • Java Action Processor

    This type requires that you (or developers) map an existing class and method to the action processor. Unlike for Java Action Processor (with Code Generation), you must manually write the code for the class and method for the action processor.

  • State Table

    This requires that you (or developers) map an existing state table and program to the action processor. Similar to the Java Action Processor type, you must manually write code for the state table and program.

Class and Method For Java Action Processor (with Code Generation), the fields are blank and grayed out until a code is generated using New button. When the code is generated the class and method names mapped to the action processor are populated in these fields.

For Java Action Processor, the fields display the default values for the class and method as myProcessor and execute respectively. The code for the default values does not exist. You must modify these values with existing class and method names and map them using Select.

State Table and Program Displays the default values for the state table and program as S_MY_STATE_TABLE and doAction respectively.

Note: The code for the default values does not exist. You must modify the default values with existing state table and program names and map them using Select.

Open Click to see the code. This button is enabled only when the code is available.
New Click to create the Java action processor implementation.

Note: New is grayed out for Java Action Processor and State Table.

Select Click to select Java implementation or state table implementation. Use this button to map the class and method for the Java Action Processor type and state table and program for the State Table type.

Note: Select is grayed out for Java Action Processor (with Code Generation).

Command Overview, Output, and Development Notes Specify documentation in the Command Overview area for the MML commands, output from the action processor (for example, return the following parameters as INFO or CSDL) in the Output area, and comments provided by the cartridge developer in the Development Notes area respectively.

Related Topics

Action Processor Editor

Defining Action Processor Properties

Modeling Entities

Action Processor Editor Blueprint Tab

Use the Blueprint tab to view the generated documentation for the action processor entity. This tab is read only.

Related Topics

Action Processor Editor

Modeling Entities