Class ZOSJobSubmitter.ZOSJobSubmitterDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
org.jenkinsci.plugins.IBM_zOS_Connector.ZOSJobSubmitter.ZOSJobSubmitterDescriptor
- All Implemented Interfaces:
hudson.model.Saveable,jenkins.util.io.OnMaster
- Enclosing class:
- ZOSJobSubmitter
@Extension
public static final class ZOSJobSubmitter.ZOSJobSubmitterDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.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
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazzFields inherited from interface hudson.model.Saveable
NOOP -
Constructor Summary
Constructors Constructor Description ZOSJobSubmitterDescriptor()Primitive constructor. -
Method Summary
Modifier and Type Method Description hudson.util.FormValidationdoCheckCredentialsId(hudson.model.Item item, java.lang.String value)hudson.util.FormValidationdoCheckJobFIle(java.lang.String value)Function for validation of 'Job file' field on project configuration pagehudson.util.FormValidationdoCheckMaxCC(java.lang.String value)hudson.util.FormValidationdoCheckServer(java.lang.String value)Function for validation of 'Server' field on project configuration pagehudson.util.FormValidationdoCheckWaitTime(java.lang.String value)Function for validation of 'Wait Time' field on project configuration pagehudson.util.ListBoxModeldoFillCredentialsIdItems(hudson.model.Item item, java.lang.String credentialsId)Fill in credentials IDs.java.lang.StringgetDisplayName()Get printable name.booleanisApplicable(java.lang.Class<? extends hudson.model.AbstractProject> aClass)If this build step can be used with the project.Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ZOSJobSubmitterDescriptor
public ZOSJobSubmitterDescriptor()Primitive constructor.
-
-
Method Details
-
doCheckServer
public hudson.util.FormValidation doCheckServer(@QueryParameter java.lang.String value)Function for validation of 'Server' field on project configuration page- Parameters:
value- Current server.- Returns:
- Whether server name looks OK.
-
doFillCredentialsIdItems
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item item, @QueryParameter java.lang.String credentialsId)Fill in credentials IDs.- Parameters:
item- parentcredentialsId- credentials ID- Returns:
- filled in credentials IDs
-
doCheckCredentialsId
public hudson.util.FormValidation doCheckCredentialsId(@AncestorInPath hudson.model.Item item, @QueryParameter java.lang.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 hudson.util.FormValidation doCheckJobFIle(@QueryParameter java.lang.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 hudson.util.FormValidation doCheckWaitTime(@QueryParameter java.lang.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 hudson.util.FormValidation doCheckMaxCC(@QueryParameter java.lang.String value)- Parameters:
value- MaxCC provided by user- Returns:
- Whether MaxCC is OK to use
-
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> aClass)If this build step can be used with the project.- Specified by:
isApplicablein classhudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>- Parameters:
aClass- Project description class.- Returns:
- Always
true.
-
getDisplayName
public java.lang.String getDisplayName()Get printable name.- Overrides:
getDisplayNamein classhudson.model.Descriptor<hudson.tasks.Builder>- Returns:
- Printable name for project configuration page.
-