Class ZOSJobSubmitter.ZOSJobSubmitterDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.IBM_zOS_Connector.ZOSJobSubmitter.ZOSJobSubmitterDescriptor
- Enclosing class:
- ZOSJobSubmitter
@Extension
public static final class ZOSJobSubmitter.ZOSJobSubmitterDescriptor
extends BuildStepDescriptor<Builder>
zOSJobSubmitterDescriptor
Descriptor for ZOSJobSubmitter.- Version:
- 1.0
- Author:
- Alexander Shchrbakov (candiduslynx@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCredentialsId
(Item item, String value) doCheckJobFIle
(String value) Function for validation of 'Job file' field on project configuration pagedoCheckMaxCC
(String value) doCheckServer
(String value) Function for validation of 'Server' field on project configuration pagedoCheckWaitTime
(String value) Function for validation of 'Wait Time' field on project configuration pagedoFillCredentialsIdItems
(Item item, String credentialsId) Fill in credentials IDs.Get printable name.boolean
isApplicable
(Class<? extends AbstractProject> aClass) If this build step can be used with the project.Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, toMap
-
Constructor Details
-
ZOSJobSubmitterDescriptor
public ZOSJobSubmitterDescriptor()Primitive constructor.
-
-
Method Details
-
doCheckServer
Function for validation of 'Server' field on project configuration page- Parameters:
value
- Current server.- Returns:
- Whether server name looks OK.
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) Fill in credentials IDs.- Parameters:
item
- parentcredentialsId
- credentials ID- Returns:
- filled in credentials IDs
-
doCheckCredentialsId
- Parameters:
item
- configuration entity to use permissions from.value
- Current credentials (or expression/env variable).- Returns:
- Whether creds are OK. Currently just check that it's set.
-
doCheckJobFIle
Function for validation of 'Job file' field on project configuration page- Parameters:
value
- Current job file.- Returns:
- Whether job looks OK.
-
doCheckWaitTime
Function for validation of 'Wait Time' field on project configuration page- Parameters:
value
- Current wait time.- Returns:
- Whether wait time looks OK.
-
doCheckMaxCC
- Parameters:
value
- MaxCC provided by user- Returns:
- Whether MaxCC is OK to use
-
isApplicable
If this build step can be used with the project.- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
- Parameters:
aClass
- Project description class.- Returns:
- Always
true
.
-
getDisplayName
Get printable name.- Overrides:
getDisplayName
in classDescriptor<Builder>
- Returns:
- Printable name for project configuration page.
-