JavaCommandOneMethod
Processing of only one command within one class @JavaCommandService (1) public class CommandClass { @LiteService (2) private ICommandRestService restService; public CommandClass(final ICommandRestService restService) { this.restService = restService; } /** * This is the workflowDocumentation for my command * * @param myReadVariable Actual docu of my variable (3) * @param noReadVariable This is the documentation for […]
JavaCommandOverloading
Overloading of command @JavaCommandService public class CommandClass { […] public String myCommand(int myIntReadVariable, String myStringReadVariable) { (1) return „hello“; } public int myCommand(String myReadVariable) { (2) return 42; } } Last updated 2025-04-07 09:26:29 +0200
SampleCommandMeta
CommandMeta corresponding to previously defined command { „deprecated“: false, „group“: „myCommandGroup“, „id“: „stimuli.pkg5.CommandClass#myCommandByStringAndString“, „increment“: 0, „interpreter“: „de.asap.pak.jlcint.pakbridge.JavaServiceInterpreter“, „liteServices“: [ { „id“: „de.asap.pak.core.services.api.ICommandRestServices“, „key“: „restService“, „name“: „ICommandRestService“ } ], „major“: 2, „mappings“: [ { „documentation“: „Actual docu of my variable“, „isAllowedValuesSuggestion“: false, „key“: „myReadVariable“, „mandatory“: false, „scope“: „READ“, „type“: „STRING“ }, { „documentation“: „This is the […]
CommandMeta CommandMapping
Table of Contents Command Meta – Command Mappings Command Meta – Command Mappings The command mappings are part of the command meta and contain more information on every datastore variable defined by a command. Some fields may not be present if their value was not set, e.g. in case no information is present to fill […]
CommandMeta Service
Table of Contents Command Meta – Required Services Command Meta – Required Services Commands can require services to function. These services are also defined in the command meta and have the following property fields. Field name Description Example id Fully qualified name of the class of the service de.asap.pak.adapter.codebeamer.api.ICodebeamerAdapter key The datastore key if the […]
JavaCommandAllMethods
Processing of multiple commands within one class @JavaCommandService (1) public class CommandClass { @Service (2) private ICredentialRequester credentialRequester; public CommandClass(final ICredentialRequester credentialRequester) { this.credentialRequester = credentialRequester; } public void myCommand1(String str1, String str2) { (3) int strLength = str1.length() + str2.length(); } @Deprecated (4) public int myCommand2(String myReadVariable) { (5) return 42; } } Last […]
Classloader Delegation Concept
Classloader Delegation Concept TODO: Add content from Classloader Delegation Concept (confluence.asap.de) here Last updated 2025-04-07 09:26:29 +0200
JavaCommand
Table of Contents Java Command Requirements Implementation Conversion Testing Java Command This section describes how to write a command for PAK in Java. Requirements The Java Language Command Interpreter (JLCINT) is provided for command development using Java. Several dependencies and tasks are required, which will be described in the following. Additionally, an example implementation of […]
SimplePersistenceService
PAK Core – SimplePersistenceService In Progress… Last updated 2025-04-07 09:26:29 +0200
MavenCommandPool
PAK Extra – MavenCommandPool Last updated 2025-04-07 09:26:29 +0200