Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.github.cyanbaz.jenkins.plugins.jsonparameter - package com.github.cyanbaz.jenkins.plugins.jsonparameter
- ConfigFileSource - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
A
JsonSource
implementation that loads JSON content from a Jenkins Config File, either globally scoped or folder-scoped. - ConfigFileSource(boolean, String, String) - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource
-
Constructs a new
ConfigFileSource
instance. - ConfigFileSource.DescriptorImpl - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Descriptor for
ConfigFileSource
, shown as an option in the dropdown selector. - createValue(CLICommand, String) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Creates a parameter value from a CLI command.
- createValue(StaplerRequest2) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Creates a parameter value from a standard web form submission.
- createValue(StaplerRequest2, JSONObject) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Creates a parameter value from the submitted JSON object in the web form.
D
- DescriptorImpl() - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource.DescriptorImpl
- DescriptorImpl() - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition.DescriptorImpl
- DescriptorImpl() - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource.DescriptorImpl
- doAutoCompleteFolderPath(Item, String) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource.DescriptorImpl
-
Provides auto-completion candidates for the folder path field in the UI.
- doFillConfigIdItems(Item) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource.DescriptorImpl
-
Provides a list of available config file IDs for selection in the UI.
- doFillCredentialsIdItems(Item) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource.DescriptorImpl
-
Populates the credentials dropdown in the UI with available username/password credentials.
E
- error_config_id_not_found(Object) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.config_id_not_found
:The selected config ID ''{0}'' does not exist in the current folder.
. - error_config_id_not_found_global(Object) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.config_id_not_found_global
:Unable to locate global config file with ID: {0}
. - error_folder_scope() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.folder_scope
:Oops! This parameter is only usable inside the configured folder.
. - error_no_data() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.no_data
:No data found. Check your JSON source or query.
.
F
- failure(String) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
G
- getConfigId() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource
- getCredentialsId() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource
- getDefaultParameterValue() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Returns the default parameter value as configured.
- getDefaultValue() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
- getDisplayName() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource.DescriptorImpl
-
Returns the display name shown in the dropdown for this source type.
- getDisplayName() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition.DescriptorImpl
-
Returns the display name shown in the Jenkins UI.
- getDisplayName() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource.DescriptorImpl
-
Returns the display name shown in the dropdown for this source type.
- getErrorMessage() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
- getFolderPath() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource
- getPlaceholderMessage() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Returns a localized message used when no options are available in the dropdown.
- getQuery() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
- getSource() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
- getUrl() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource
- getValue() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
I
- isFolderScoped() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource
- isSuccess() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
J
- JsonParameterDefinition - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Represents a custom Jenkins parameter definition that extracts values from a JSON source (either from a local config file or a remote URL) using a JSONPath expression.
- JsonParameterDefinition(String, String, JsonSource, String) - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonParameterDefinition
-
Data-bound constructor called by Jenkins when binding UI input.
- JsonParameterDefinition.DescriptorImpl - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Descriptor for this parameter type, defines how it is represented in Jenkins UI.
- JsonResult<T> - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
A generic result container used to wrap the outcome of loading JSON data.
- JsonResult(boolean, T, String) - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
- JsonSource - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Base class for all JSON data sources used in the
json-parameter-plugin
. - JsonSource() - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonSource
L
- loadJson() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.ConfigFileSource
-
Loads the JSON content from the configured Jenkins config file.
- loadJson() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonSource
-
Loads the raw JSON string from the configured data source.
- loadJson() - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource
-
Fetches the JSON content from the configured remote URL using Java's
HttpClient
. - loadOptions(String) - Method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonSource
-
Extracts a list of values from the loaded JSON using the given JSONPath query.
M
- Messages - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Generated localization support class.
- Messages() - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
P
- placeholder_config_file_id() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
placeholder.config_file_id
:Select Config File ID
. - placeholder_select_option() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
placeholder.select_option
:-- Choose an option --
.
R
- RemoteSource - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
A
JsonSource
implementation that retrieves JSON content from a remote HTTP(S) endpoint. - RemoteSource(String, String) - Constructor for class com.github.cyanbaz.jenkins.plugins.jsonparameter.RemoteSource
-
Constructs a new
RemoteSource
. - RemoteSource.DescriptorImpl - Class in com.github.cyanbaz.jenkins.plugins.jsonparameter
-
Descriptor for the
RemoteSource
, used to display this option in the Jenkins UI dropdown.
S
- success(T) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.JsonResult
_
- _error_config_id_not_found(Object) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.config_id_not_found
:The selected config ID ''{0}'' does not exist in the current folder.
. - _error_config_id_not_found_global(Object) - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.config_id_not_found_global
:Unable to locate global config file with ID: {0}
. - _error_folder_scope() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.folder_scope
:Oops! This parameter is only usable inside the configured folder.
. - _error_no_data() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
error.no_data
:No data found. Check your JSON source or query.
. - _placeholder_config_file_id() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
placeholder.config_file_id
:Select Config File ID
. - _placeholder_select_option() - Static method in class com.github.cyanbaz.jenkins.plugins.jsonparameter.Messages
-
Key
placeholder.select_option
:-- Choose an option --
.
All Classes and Interfaces|All Packages|Serialized Form