org.jenkinsci.plugins.DependencyCheck
Class DependencyCheckDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.analysis.core.PluginDescriptor
              extended by org.jenkinsci.plugins.DependencyCheck.DependencyCheckDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension(ordinal=100.0)
public final class DependencyCheckDescriptor
extends hudson.plugins.analysis.core.PluginDescriptor

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

Author:
Steve Springett (steve.springett@owasp.org), based on PmdDescriptor by Ulli Hafner

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.plugins.analysis.core.PluginDescriptor
RESULT_URL_SUFFIX
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
DependencyCheckDescriptor()
          Creates a new instance of DependencyCheckDescriptor.
 
Method Summary
 String getDisplayName()
           
 String getIconUrl()
           
 String getPluginName()
           
 String getSummaryIconUrl()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
          By default, isApplicable will return true for all projects except Maven projects.
 
Methods inherited from class hudson.plugins.analysis.core.PluginDescriptor
convertHierarchicalFormData, convertHierarchicalFormData, createResultUrlName, doCheckDefaultEncoding, doCheckHeight, doCheckPattern, doCheckThreshold, getHelpFile, getPluginResultUrlName, getPluginRoot, isMavenPluginInstalled, isPluginInstalled, newInstance
 
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, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, 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

DependencyCheckDescriptor

public DependencyCheckDescriptor()
Creates a new instance of DependencyCheckDescriptor.

Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

getPluginName

public String getPluginName()
Specified by:
getPluginName in class hudson.plugins.analysis.core.PluginDescriptor

getIconUrl

public String getIconUrl()
Specified by:
getIconUrl in class hudson.plugins.analysis.core.PluginDescriptor

getSummaryIconUrl

public String getSummaryIconUrl()
Overrides:
getSummaryIconUrl in class hudson.plugins.analysis.core.PluginDescriptor

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
By default, isApplicable will return true for all projects except Maven projects. We want the publisher to be available on Maven projects as well.

Overrides:
isApplicable in class hudson.plugins.analysis.core.PluginDescriptor
Parameters:
jobType - the type of Jenkins job (freestyle, maven, etc)
Returns:
true


Copyright © 2012-2015 OWASP. All Rights Reserved.