@Symbol(value="zAdviserDownload")
@Extension
public static final class ZAdviserDownloadData.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
ZAdviserDownloadData. It also contains the global configuration options as
fields, just like the ZAdviserDownloadData contains the configuration options for a job| Constructor and Description |
|---|
DescriptorImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckConnectionId(String connectionId)
Validator for the 'Host connection' field.
|
hudson.util.FormValidation |
doCheckCredentialsId(String credentialsId)
Validator for the 'Login credentials' field.
|
hudson.util.FormValidation |
doCheckEncryptedDataFile(String encryptedDataFile)
Validator for the 'Encrypted Data File' field.
|
hudson.util.FormValidation |
doCheckJcl(String jcl)
Validator for the 'JCL' field.
|
hudson.util.FormValidation |
doCheckUnencryptedDataFile(String unencryptedDataFile)
Validator for the 'Unencrypted Data File' field.
|
hudson.util.ListBoxModel |
doFillConnectionIdItems(jenkins.model.Jenkins context,
String connectionId,
hudson.model.Item project)
Fills in the Host Connection selection box with applicable connections.
|
hudson.util.ListBoxModel |
doFillCredentialsIdItems(jenkins.model.Jenkins context,
String credentialsId,
hudson.model.Item project)
Fills in the Login Credentials selection box with applicable connections.
|
String |
getDefaultJcl()
Get the default JCL.
|
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic DescriptorImpl()
In order to load the persisted global configuration, you have to call load() in the constructor.
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Builder>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>@POST
public hudson.util.FormValidation doCheckConnectionId(@QueryParameter
String connectionId)
connectionId - unique identifier for the host connection passed from the config.jelly "connectionId" field@POST
public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter
String credentialsId)
credentialsId - login credentials passed from the config.jelly "credentialsId" field@POST
public hudson.util.FormValidation doCheckJcl(@QueryParameter
String jcl)
jcl - the jcl passed from the config.jelly "jcl" field@POST
public hudson.util.FormValidation doCheckEncryptedDataFile(@QueryParameter
String encryptedDataFile)
encryptedDataFile - the encrypted data file passed from the config.jelly "encryptedDataFile" field@POST
public hudson.util.FormValidation doCheckUnencryptedDataFile(@QueryParameter
String unencryptedDataFile)
unencryptedDataFile - the unencrypted data file passed from the config.jelly "unencryptedDataFile" field@POST
public hudson.util.ListBoxModel doFillConnectionIdItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String connectionId,
@AncestorInPath
hudson.model.Item project)
context - filter for host connectionsconnectionId - an existing host connection identifier; can be nullproject - the Jenkins project@POST
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String credentialsId,
@AncestorInPath
hudson.model.Item project)
context - filter for login credentialscredentialsId - existing login credentials; can be nullproject - the Jenkins projectpublic String getDefaultJcl()
Copyright © 2016–2022. All rights reserved.