@Named
Java Command Annotations – @Named 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 @Named annotation. It also gives an example of how you can use this annotation in your implementation. 1. Basics The @Named annotation […]
@JavaCommand
Java Command Annotations – @JavaCommand Table of Contents 1. Basics 2. Properties 3. Usage 3.1. @JavaCommand on Class-Level 3.2. @JavaCommand on Method-Level Java command annotations are used for developing Java commands in PAK. This chapter describes the functionality of the @JavaCommand annotation. It also gives an example of how you can use this annotation in […]
@Group
Java Command Annotations – @Group 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 @Group annotation. It also gives an example of how you can use this annotation in your implementation. 1. Basics The @Group annotation […]
WorkflowDocuOutputExample
Usage of @workflowDocu for output-variables /** * @workflowDocu The id of the build job. Can be retrieved with the * {@link StartBuildJob} command. */ @Persistent(scope = FieldScope.WRITE_ONLY) private Integer buildId; Last updated 2025-09-30 16:02:30 +0200
WorkflowDocuRequirement
Integration of @workflowDocu via the build.gradle file javadoc { source = sourceSets.main.allJava options.tags = [ ‚workflowDocu:cm:Workflow Developer Documentation:‘ ] } Last updated 2025-09-30 16:02:30 +0200
@CommandGroup
Java Command Annotations – @CommandGroup 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 @CommandGroup annotation. It also gives an example of how you can use this annotation in your implementation. 1. Basics The @CommandGroup annotation […]
WorkflowDocuInputExample
Usage of @workflowDocu for input-variables giving an example /** * * @workflowDocu The name of the job that should be started. Build job with this * name should exist. If job does not exist, a * {@link RestClientAdapterException} exception will be thrown. * Example: Tests/job/JenkinsAdapterTestBuildJob/ (1) */ @Persistent private String jobName; Last updated 2025-09-30 16:02:30 […]
WorkflowDocuInputExampleFormat
Usage of @workflowDocu for input-variables in combination with other annotations /** * @workflowDocu The authentication type used to authenticate */ @Group(GROUP_NAME) @AllowedValues(values = „REST_BASIC“) (1) @Persistent(mandatory = false) (2) private String authType; Last updated 2025-09-30 16:02:30 +0200
WorkflowDocuInputExampleFormating
@workflowDocu using the <pre> tag /** * <pre> * @workflowDocu Parameter map for the Jenkins job that will be executed. * Caution: * If the build job is not parametrized, the value must be * null. * If the build job is parameterized, the parameter map must * not be null. * For a parametrized […]
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 2025-09-30 16:02:30 +0200