JavaCommandAllMethods
Processing of multiple commands within one class @JavaCommandService (1) public class CommandClass { […] public String myCommand1(String myReadVariable1, String myReadVariable2) { return myReadVariable1 + myReadVariable2; } public int myCommand2(String myReadVariable) { return myReadVariable.length(); } } Last updated 2024-07-05 11:16:52 +0200
JavaCommandOneMethod
Processing of only one command within one class @JavaCommandService (1) public class CommandClass { […] @JavaCommand (2) @Persistent public String myCommand(@Persistent String stringVariable) { return stringVariable + „hello“; } // simple dummy method, not a command public int retNum(int number) { return number; } } Last updated 2024-07-05 11:16:52 +0200
Smoke Testing commands
Smoke Testing Commands Table of Contents Use Cases Smoke Testing commands in the Workflow Executor Use Cases Currently, it is not possible to unit-/integration test Human Tasks. They can, however, be smoke tested by using the Single Command Runner of the Workflow Executor, which will be described in the following chapter. The Workflow Executor can […]
@AllowedValues
Java Command Annotations – @AllowedValues Table of Contents 1. Basics 2. Properties 2.1. String Field 2.2. Enum Variable 3. Usage 3.1. String Variable 3.2. Enum Variable Java command annotations are used for the developing Java commands in PAK. This chapter describes the functionality of the @AllowedValues annotation. It also gives an example of how you […]