org.jenkinsci.plugins.DependencyCheck
Class DependencyCheckUpdateOnlyBuilder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
          extended by org.jenkinsci.plugins.DependencyCheck.DependencyCheckUpdateOnlyBuilder.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
DependencyCheckUpdateOnlyBuilder

@Extension
public static final class DependencyCheckUpdateOnlyBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>

Descriptor for DependencyCheckUpdateOnlyBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.

See src/main/resources/org/jenkinsci/plugins/DependencyCheck/DependencyCheckUpdateOnlyBuilder/*.jelly for the actual HTML fragment for the configuration screen.


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
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
DependencyCheckUpdateOnlyBuilder.DescriptorImpl()
          Default constructor.
 
Method Summary
 String getCveUrl12Base()
          Returns the global configuration for CVE 1.2 base URL.
 String getCveUrl12Modified()
          Returns the global configuration for CVE 1.2 modified URL.
 String getCveUrl20Base()
          Returns the global configuration for CVE 2.0 base URL.
 String getCveUrl20Modified()
          Returns the global configuration for CVE 2.0 modified URL.
 int getDataMirroringType()
          This method returns the global configuration for dataMirroringType.
 String getDisplayName()
          This name is used on the build configuration screen.
 boolean getIsNvdProxyBypassed()
          Returns the global configuration to determine if downloading the NVD data feeds shall bypass any proxy defined in Jenkins.
 String getTempPath()
          Returns the global configuration for the path to the temporary directory.
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, 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, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyCheckUpdateOnlyBuilder.DescriptorImpl

public DependencyCheckUpdateOnlyBuilder.DescriptorImpl()
Default constructor. Obtains the Descriptor used in DependencyCheckBuilder as this contains the global Dependency-Check Jenkins plugin configuration.

Method Detail

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>

getDisplayName

public String getDisplayName()
This name is used on the build configuration screen.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>

getDataMirroringType

public int getDataMirroringType()
This method returns the global configuration for dataMirroringType.


getIsNvdProxyBypassed

public boolean getIsNvdProxyBypassed()
Returns the global configuration to determine if downloading the NVD data feeds shall bypass any proxy defined in Jenkins.


getCveUrl12Modified

public String getCveUrl12Modified()
Returns the global configuration for CVE 1.2 modified URL.


getCveUrl20Modified

public String getCveUrl20Modified()
Returns the global configuration for CVE 2.0 modified URL.


getCveUrl12Base

public String getCveUrl12Base()
Returns the global configuration for CVE 1.2 base URL.


getCveUrl20Base

public String getCveUrl20Base()
Returns the global configuration for CVE 2.0 base URL.


getTempPath

public String getTempPath()
Returns the global configuration for the path to the temporary directory.



Copyright © 2012-2015 OWASP. All Rights Reserved.