org.whitesource.jenkins.extractor.generic
Class LibFolderScanner
java.lang.Object
org.whitesource.jenkins.extractor.generic.LibFolderScanner
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<Collection<org.whitesource.agent.api.model.DependencyInfo>>, Serializable
public class LibFolderScanner
- extends Object
- implements hudson.FilePath.FileCallable<Collection<org.whitesource.agent.api.model.DependencyInfo>>
Implementation of the interface for scanning the workspace for all OSS libraries.
- Author:
- Edo.Shor
- See Also:
- Serialized Form
|
Method Summary |
Collection<org.whitesource.agent.api.model.DependencyInfo> |
invoke(File f,
hudson.remoting.VirtualChannel channel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibFolderScanner
public LibFolderScanner(List<String> libIncludes,
List<String> libExcludes,
hudson.model.BuildListener listener)
- Constructor
- Parameters:
libIncludes - Ant style pattern for files to include.libExcludes - Ant style pattern for files to exclude.listener -
invoke
public Collection<org.whitesource.agent.api.model.DependencyInfo> invoke(File f,
hudson.remoting.VirtualChannel channel)
throws IOException,
InterruptedException
- Specified by:
invoke in interface hudson.FilePath.FileCallable<Collection<org.whitesource.agent.api.model.DependencyInfo>>
- Throws:
IOException
InterruptedException
Copyright © 2004-2013 White Source. All Rights Reserved.