org.jenkinsci.plugins.DependencyCheck
Class DependencyCheckExecutor

java.lang.Object
  extended by org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor
All Implemented Interfaces:
Serializable

public class DependencyCheckExecutor
extends Object
implements Serializable

This class is called by the DependencyCheckBuilder (the Jenkins build-step plugin) and is responsible for executing a DependencyCheck analysis.

Author:
Steve Springett (steve.springett@owasp.org)
See Also:
Serialized Form

Constructor Summary
DependencyCheckExecutor(Options options, hudson.model.BuildListener listener)
          Constructs a new DependencyCheckExecutor object.
DependencyCheckExecutor(Options options, hudson.model.BuildListener listener, ClassLoader classLoader)
          Constructs a new DependencyCheckExecutor object.
 
Method Summary
 boolean performBuild()
          Performs a DependencyCheck analysis build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyCheckExecutor

public DependencyCheckExecutor(Options options,
                               hudson.model.BuildListener listener)
Constructs a new DependencyCheckExecutor object.

Parameters:
options - Options to be used for execution
listener - BuildListener object to interact with the current build

DependencyCheckExecutor

public DependencyCheckExecutor(Options options,
                               hudson.model.BuildListener listener,
                               ClassLoader classLoader)
Constructs a new DependencyCheckExecutor object.

Parameters:
options - Options to be used for execution
listener - BuildListener object to interact with the current build
Method Detail

performBuild

public boolean performBuild()
Performs a DependencyCheck analysis build.

Returns:
a boolean value indicating if the build was successful or not. A successful build is not determined by the ability to analyze dependencies, rather, simply to determine if errors were encountered during the execution.


Copyright © 2012-2015 OWASP. All Rights Reserved.