Package com.mathworks.polyspace.jenkins
Class PolyspaceBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
com.mathworks.polyspace.jenkins.PolyspaceBuildWrapper.DescriptorImpl
- Enclosing class:
- PolyspaceBuildWrapper
@Extension
public static final class PolyspaceBuildWrapper.DescriptorImpl
extends BuildWrapperDescriptor
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckPolyspaceAccess
(Item item, String serverConfig, String polyspaceAccessCredentialId, String binConfig) getBinConfig
(String name) getServerConfig
(String name) boolean
isApplicable
(AbstractProject<?, ?> item) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
addPolyspaceBinConfig
-
getpolyspaceBinConfigs
-
getBinConfig
-
addPolyspaceAccessConfig
-
getpolyspaceAccessConfigs
-
getServerConfig
-
doFillServerConfigItems
-
doFillBinConfigItems
-
doFillPolyspaceAccessCredentialIdItems
-
doCheckPolyspaceAccess
public FormValidation doCheckPolyspaceAccess(@AncestorInPath Item item, @QueryParameter String serverConfig, @QueryParameter String polyspaceAccessCredentialId, @QueryParameter String binConfig) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-