Package com.fortify.plugin.jenkins
Class FortifyPlugin.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.fortify.plugin.jenkins.FortifyPlugin.DescriptorImpl
-
- Enclosing class:
- FortifyPlugin
@Symbol("fortifyPlugin") public static final class FortifyPlugin.DescriptorImpl extends BuildStepDescriptor<Publisher>
-
-
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.tasks.BuildStepDescriptor
filter
-
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(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
getUrl
public String getUrl()
-
setUrl
@DataBoundSetter public void setUrl(String url)
-
getUseProxy
public boolean getUseProxy()
Deprecated.usegetProxyConfig()
-
getProxyUrl
public String getProxyUrl()
Deprecated.usegetProxyConfig()
-
getProxyUsername
public String getProxyUsername()
Deprecated.usegetProxyConfig()
-
getProxyPassword
public String getProxyPassword()
Deprecated.usegetProxyConfig()
-
getProxyConfig
public ProxyConfig getProxyConfig()
-
setIsProxy
@DataBoundSetter public void setIsProxy(boolean isProxy)
-
getIsProxy
public boolean getIsProxy()
-
setProxyConfig
@DataBoundSetter public void setProxyConfig(ProxyConfig proxyConfig)
-
getToken
public String getToken()
-
getSscTokenCredentialsId
public String getSscTokenCredentialsId()
-
setToken
@DataBoundSetter public void setToken(String token)
Deprecated.
-
setSscTokenCredentialsId
@DataBoundSetter public void setSscTokenCredentialsId(String sscTokenCredentialsId)
-
canUploadToSsc
public boolean canUploadToSsc()
-
getProjectTemplate
public String getProjectTemplate()
-
setProjectTemplate
@DataBoundSetter public void setProjectTemplate(String projectTemplate)
-
getBreakdownPageSize
public Integer getBreakdownPageSize()
-
setBreakdownPageSize
@DataBoundSetter public void setBreakdownPageSize(Integer breakdownPageSize)
-
getAppVersionListLimit
public Integer getAppVersionListLimit()
-
setAppVersionListLimit
@DataBoundSetter public void setAppVersionListLimit(Integer appVersionListLimit)
-
getConnectTimeout
public Integer getConnectTimeout()
-
setConnectTimeout
@DataBoundSetter public void setConnectTimeout(Integer connectTimeout)
-
getReadTimeout
public Integer getReadTimeout()
-
setReadTimeout
@DataBoundSetter public void setReadTimeout(Integer readTimeout)
-
getWriteTimeout
public Integer getWriteTimeout()
-
setWriteTimeout
@DataBoundSetter public void setWriteTimeout(Integer writeTimeout)
-
getCtrlUrl
public String getCtrlUrl()
-
setCtrlUrl
@DataBoundSetter public void setCtrlUrl(String ctrlUrl)
-
getCtrlToken
public String getCtrlToken()
-
setCtrlToken
@DataBoundSetter public void setCtrlToken(String ctrlToken)
Deprecated.
-
getCtrlTokenCredentialsId
public String getCtrlTokenCredentialsId()
-
setCtrlTokenCredentialsId
@DataBoundSetter public void setCtrlTokenCredentialsId(String ctrlTokenCredentialsId)
-
isDisableLocalScans
public boolean isDisableLocalScans()
-
setDisableLocalScans
@DataBoundSetter public void setDisableLocalScans(boolean disableLocalScans)
-
doCheckBreakdownPageSize
public FormValidation doCheckBreakdownPageSize(@QueryParameter String value)
-
doCheckUrl
@POST public FormValidation doCheckUrl(@QueryParameter String value)
-
doCheckSscTokenCredentialsId
@POST public FormValidation doCheckSscTokenCredentialsId(@QueryParameter String value, @QueryParameter String url)
-
doCheckCtrlTokenCredentialsId
@POST public FormValidation doCheckCtrlTokenCredentialsId(@QueryParameter String value, @QueryParameter String ctrlUrl)
-
doCheckFpr
public FormValidation doCheckFpr(@QueryParameter String value)
-
doCheckProjectTemplate
@POST public FormValidation doCheckProjectTemplate(@QueryParameter String value)
-
doCheckProjectName
public FormValidation doCheckProjectName(@QueryParameter String value)
-
doCheckProjectVersion
public FormValidation doCheckProjectVersion(@QueryParameter String value)
-
doCheckTimeout
public FormValidation doCheckTimeout(@QueryParameter String value)
-
doCheckPollingInterval
public FormValidation doCheckPollingInterval(@QueryParameter String value)
-
doCheckCtrlUrl
@POST public FormValidation doCheckCtrlUrl(@QueryParameter String value, @QueryParameter String url)
-
doFillSscTokenCredentialsIdItems
@POST public ListBoxModel doFillSscTokenCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String sscTokenCredentialsId, @QueryParameter String url)
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter String url, @QueryParameter String sscTokenCredentialsId, @QueryParameter Boolean isProxy, @QueryParameter Integer connectTimeout, @QueryParameter Integer readTimeout, @QueryParameter Integer writeTimeout)
-
doFillCtrlTokenCredentialsIdItems
@POST public ListBoxModel doFillCtrlTokenCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String ctrlTokenCredentialsId, @QueryParameter String ctrlUrl)
-
doTestCtrlConnection
@POST public FormValidation doTestCtrlConnection(@QueryParameter String ctrlUrl, @QueryParameter String ctrlTokenCredentialsId, @QueryParameter Boolean isProxy) throws IOException
- Throws:
IOException
-
doRefreshProjects
@POST public void doRefreshProjects(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String value, @AncestorInPath Item item) throws Exception
- Throws:
Exception
-
doRefreshVersions
@POST public void doRefreshVersions(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String value, @AncestorInPath Item item) throws Exception
- Throws:
Exception
-
doRefreshProjectTemplates
@POST public void doRefreshProjectTemplates(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String value) throws Exception
- Throws:
Exception
-
doCreateNewProject
@POST public void doCreateNewProject(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String value, @AncestorInPath Item item) throws Exception
- Throws:
Exception
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jsonObject) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
isSettingUpdated
public boolean isSettingUpdated()
-
doFillAppNameItems
@POST public ComboBoxModel doFillAppNameItems(@AncestorInPath Item item)
-
getAppNameItems
@POST public ComboBoxModel getAppNameItems(@AncestorInPath Item item)
-
doFillAppVersionItems
@POST public ComboBoxModel doFillAppVersionItems(@QueryParameter String appName, @AncestorInPath Item item)
-
getAppVersionItems
@POST public ComboBoxModel getAppVersionItems(@QueryParameter String appName, @AncestorInPath Item item)
-
doAutoCompleteAppName
@POST public AutoCompletionCandidates doAutoCompleteAppName(@QueryParameter String value, @AncestorInPath Item item)
-
doFillProjectTemplateItems
@POST public ComboBoxModel doFillProjectTemplateItems(@AncestorInPath Item item)
Get Issue template list from SSC via WSBasically only for global.jelly pull down menu
- Returns:
- A list of Issue template and ID
-
getProjectTemplateItems
@POST public ComboBoxModel getProjectTemplateItems(@AncestorInPath Item item)
-
getProjTemplateListList
public List<ProjectTemplateBean> getProjTemplateListList()
-
doFillFilterSetItems
@POST public ListBoxModel doFillFilterSetItems(@QueryParameter String appName, @QueryParameter String appVersion, @AncestorInPath Item item)
-
doFillSensorPoolUUIDItems
@POST public ListBoxModel doFillSensorPoolUUIDItems(@AncestorInPath Item item)
-
getSensorPoolList
public List<SensorPoolBean> getSensorPoolList() throws Exception
- Throws:
Exception
-
doFillLocaleItems
public ListBoxModel doFillLocaleItems(@QueryParameter String locale)
-
-