Package org.machanism.machai.project
package org.machanism.machai.project
Provides APIs for detecting a project's layout and traversing its modules or root directory for processing.
This package contains the entry points used to inspect a project directory, classify it by a supported build or ecosystem convention, and delegate work to a processor implementation. The resulting layout abstraction describes conventional locations such as source, test, resource, and documentation directories.
Key responsibilities in this package include:
- Detecting an appropriate
ProjectLayoutfor a filesystem directory. - Recursively scanning project roots and nested modules when the detected layout exposes module definitions.
- Providing a base processor abstraction that delegates concrete folder handling to subclasses.
Typical usage starts by calling
ProjectLayoutManager.detectProjectLayout(java.io.File)
for a project root and then invoking
ProjectProcessor.scanFolder(java.io.File)
on a ProjectProcessor implementation.
Example
java.io.File projectDir = new java.io.File("C:\\path\\to\\project");
org.machanism.machai.project.ProjectProcessor processor = ...;
processor.scanFolder(projectDir);
- Since:
- 0.0.2
-
ClassesClassDescriptionManages detection and instantiation of specific
ProjectLayoutimplementations based on the structure of a given project directory.Abstract base class for processing project structures and modules.