public class ClassPathBuilder extends Object implements IClassPathBuilder
Modifier and Type | Method and Description |
---|---|
void |
addCodeBase(ICodeBaseLocator locator,
boolean isApplication)
Add a project codebase.
|
void |
build(IClassPath classPath,
IClassPathBuilderProgress progress)
Build the classpath.
|
List<ClassDescriptor> |
getAppClassList()
Get the list of application classes discovered while scanning the
classpath.
|
void |
scanNestedArchives(boolean scanNestedArchives)
Set whether or not nested archives should be scanned.
|
public void addCodeBase(ICodeBaseLocator locator, boolean isApplication)
IClassPathBuilder
addCodeBase
in interface IClassPathBuilder
locator
- locator for project codebaseisApplication
- true if the codebase is an application codebase, false
otherwisepublic void scanNestedArchives(boolean scanNestedArchives)
IClassPathBuilder
scanNestedArchives
in interface IClassPathBuilder
scanNestedArchives
- true if nested archives should be scanned, false otherwisepublic void build(IClassPath classPath, IClassPathBuilderProgress progress) throws CheckedAnalysisException, IOException, InterruptedException
IClassPathBuilder
build
in interface IClassPathBuilder
classPath
- IClassPath object to buildprogress
- IClassPathBuilderProgress callbackResourceNotFoundException
IOException
InterruptedException
CheckedAnalysisException
public List<ClassDescriptor> getAppClassList()
IClassPathBuilder
getAppClassList
in interface IClassPathBuilder
Copyright © 2003–2015. All rights reserved.