A project has a root directory, and it has zero or more directories that contain source code.
To create a ProjectRoot use a CollectionStrategy, or instantiate ProjectRoot yourself.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final ParserConfiguration | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Path | |
| public Optional | |
| public List | |
| public String |
| cache | back to summary |
|---|---|
| private final Map<Path, SourceRoot> cache | |
| parserConfiguration | back to summary |
|---|---|
| private final ParserConfiguration parserConfiguration | |
| root | back to summary |
|---|---|
| private final Path root | |
| ProjectRoot | back to summary |
|---|---|
| public ProjectRoot(Path root) | |
| ProjectRoot | back to summary |
|---|---|
| public ProjectRoot(Path root, ParserConfiguration parserConfiguration) | |
| addSourceRoot | back to summary |
|---|---|
| public void addSourceRoot(Path path) | |
| getRoot | back to summary |
|---|---|
| public Path getRoot() | |
| getSourceRoot | back to summary |
|---|---|
| public Optional | |
| getSourceRoots | back to summary |
|---|---|
| public List | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |