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 Constructor Description DescriptorImpl()
-
Method Summary
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> item)
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getDisplayName
public String 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
public void addPolyspaceBinConfig(PolyspaceBinConfig value)
-
getpolyspaceBinConfigs
public PolyspaceBinConfig[] getpolyspaceBinConfigs()
-
getBinConfig
public PolyspaceBinConfig getBinConfig(String name)
-
addPolyspaceAccessConfig
public void addPolyspaceAccessConfig(PolyspaceAccessConfig value)
-
getpolyspaceAccessConfigs
public PolyspaceAccessConfig[] getpolyspaceAccessConfigs()
-
getServerConfig
public PolyspaceAccessConfig getServerConfig(String name)
-
addPolyspaceMetricsConfig
public void addPolyspaceMetricsConfig(PolyspaceMetricsConfig value)
-
getpolyspaceMetricsConfigs
public PolyspaceMetricsConfig[] getpolyspaceMetricsConfigs()
-
getMetricsConfig
public PolyspaceMetricsConfig getMetricsConfig(String name)
-
doFillServerConfigItems
public ListBoxModel doFillServerConfigItems()
-
doFillMetricsConfigItems
public ListBoxModel doFillMetricsConfigItems()
-
doFillBinConfigItems
public ListBoxModel doFillBinConfigItems()
-
doCheckPolyspaceMetrics
public FormValidation doCheckPolyspaceMetrics(@AncestorInPath Item item, @QueryParameter String metricsConfig, @QueryParameter String binConfig) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doFillPolyspaceAccessCredentialIdItems
public ListBoxModel doFillPolyspaceAccessCredentialIdItems(@AncestorInPath Jenkins context)
-
doCheckPolyspaceAccess
public FormValidation doCheckPolyspaceAccess(@AncestorInPath Item item, @QueryParameter String serverConfig, @QueryParameter String polyspaceAccessCredentialId, @QueryParameter String binConfig) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-