Skip to content

Commit cf38965

Browse files
Merge pull request #273 from RadCod3/migrate-tool-mule
Add description field to migration tool parameters
2 parents 971579d + e3189b9 commit cf38965

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

architecture-model-generator/modules/architecture-model-generator-core/src/main/java/io/ballerina/projectservice/core/MigrationToolParameter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
*
2626
* @param key parameter key used in the tool configuration
2727
* @param label human-readable label for the parameter
28+
* @param description detailed description of what this parameter does
2829
* @param valueType type of the parameter value (e.g., string, boolean, enum)
2930
* @param defaultValue default value for the parameter
3031
* @param options list of valid options for enum-type parameters
3132
* @since 1.2.0
3233
*/
33-
public record MigrationToolParameter(String key, String label, String valueType, String defaultValue,
34-
List<String> options) { }
34+
public record MigrationToolParameter(String key, String label, String description, String valueType,
35+
String defaultValue, List<String> options) { }

architecture-model-generator/modules/architecture-model-generator-ls-extension/src/main/resources/migration_tools.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
{
1010
"key": "forceVersion",
1111
"label": "Force Version",
12+
"description": "Force specific Mule version or auto-detect from project.",
1213
"valueType": "enum",
1314
"defaultValue": "Auto Detect",
1415
"options": ["Auto Detect","3", "4"]

0 commit comments

Comments
 (0)