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
Constructors Constructor Description ZOSJobSubmitterDescriptor()
Primitive constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(Item item, String value)
FormValidation
doCheckJobFIle(String value)
Function for validation of 'Job file' field on project configuration pageFormValidation
doCheckMaxCC(String value)
FormValidation
doCheckServer(String value)
Function for validation of 'Server' field on project configuration pageFormValidation
doCheckWaitTime(String value)
Function for validation of 'Wait Time' field on project configuration pageListBoxModel
doFillCredentialsIdItems(Item item, String credentialsId)
Fill in credentials IDs.String
getDisplayName()
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
-
-
-
-
Method Detail
-
doCheckServer
public FormValidation doCheckServer(@QueryParameter String value)
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
public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String value)
- 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
public FormValidation doCheckJobFIle(@QueryParameter String value)
Function for validation of 'Job file' field on project configuration page- Parameters:
value
- Current job file.- Returns:
- Whether job looks OK.
-
doCheckWaitTime
public FormValidation doCheckWaitTime(@QueryParameter String value)
Function for validation of 'Wait Time' field on project configuration page- Parameters:
value
- Current wait time.- Returns:
- Whether wait time looks OK.
-
doCheckMaxCC
public FormValidation doCheckMaxCC(@QueryParameter String value)
- Parameters:
value
- MaxCC provided by user- Returns:
- Whether MaxCC is OK to use
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
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
public String getDisplayName()
Get printable name.- Overrides:
getDisplayName
in classDescriptor<Builder>
- Returns:
- Printable name for project configuration page.
-
-