public class SourceCodeComponentFinderStrategy extends java.lang.Object implements ComponentFinderStrategy
| Constructor and Description |
|---|
SourceCodeComponentFinderStrategy(java.io.File sourcePath) |
SourceCodeComponentFinderStrategy(java.io.File sourcePath,
int maxDescriptionLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFindComponents()
Called after all component finder strategies belonging to the
same component finder have found components.
|
void |
beforeFindComponents()
Called before all component finder strategies belonging to the
same component finder are asked to find components.
|
java.util.Set<com.structurizr.model.Component> |
findComponents()
Finds components.
|
void |
setComponentFinder(ComponentFinder componentFinder)
Sets a reference to the parent component finder.
|
void |
setEncoding(java.lang.String encoding) |
static boolean |
start(com.sun.javadoc.RootDoc rootDoc) |
public SourceCodeComponentFinderStrategy(java.io.File sourcePath)
public SourceCodeComponentFinderStrategy(java.io.File sourcePath,
int maxDescriptionLength)
public void setComponentFinder(ComponentFinder componentFinder)
ComponentFinderStrategysetComponentFinder in interface ComponentFinderStrategycomponentFinder - a ComponentFinder instancepublic void setEncoding(java.lang.String encoding)
public void beforeFindComponents()
throws java.lang.Exception
ComponentFinderStrategybeforeFindComponents in interface ComponentFinderStrategyjava.lang.Exception - if something goes wrongpublic java.util.Set<com.structurizr.model.Component> findComponents()
throws java.lang.Exception
ComponentFinderStrategyfindComponents in interface ComponentFinderStrategyjava.lang.Exception - if something goes wrongpublic void afterFindComponents()
throws java.lang.Exception
ComponentFinderStrategyafterFindComponents in interface ComponentFinderStrategyjava.lang.Exception - if something goes wrongpublic static boolean start(com.sun.javadoc.RootDoc rootDoc)