WorkflowDocuCommandLevel
Usage of @workflowDocu on command-level /** * @workflowDocu This command gets an element by its id. (1) */ @JavaCommand @CommandGroup(„Element“) public class GetElement { /** * @workflowDocu Id of the element to fetch (2) */ @Persistent private String id; […] } Last updated 2024-12-19 10:07:55 +0100
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-12-19 10:07:55 +0100
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-12-19 10:07:55 +0100
@App
Java Command Annotations – @App Table of Contents 1. Basics 2. Properties 3. Usage Java command annotations are used for the developing Java commands in PAK. This chapter describes the functionality of the @App annotation. It also gives an example of how you can use this annotation in your implementation. 1. Basics The @App annotation […]
@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 […]
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 […]
How To Setup Nexus Repositories
Learn how to setup a repository on a nexus instance and what you need to know to be able to include the repository as a source in the PAK applications.