Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractGWMojo - Class in org.machanism.machai.gw.maven
-
Base class for Maven goals that scan project files for guidance comments and delegate processing to a
GuidanceProcessor. - AbstractGWMojo() - Constructor for class org.machanism.machai.gw.maven.AbstractGWMojo
-
Creates the base mojo instance.
- ActMojo - Class in org.machanism.machai.gw.maven
-
Maven goal that executes a Ghostwriter act against project files.
- ActMojo() - Constructor for class org.machanism.machai.gw.maven.ActMojo
- ActPerModuleMojo - Class in org.machanism.machai.gw.maven
-
Maven goal
gw:act-per-modulethat runs an action against the execution-root project using Maven's standard reactor build context. - ActPerModuleMojo() - Constructor for class org.machanism.machai.gw.maven.ActPerModuleMojo
- actPrompt - Variable in class org.machanism.machai.gw.maven.ActMojo
-
Action prompt text or predefined act name, supplied by the
gw.actMaven property. - acts - Variable in class org.machanism.machai.gw.maven.ActMojo
-
Optional directory or path containing predefined action definitions, supplied by the
gw.actsMaven property. - addAnnotations(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addConstructors(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addDirectoryEntries(String, List<String>) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
- addFields(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addInterfaces(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addJarEntries(File, List<String>) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
- addLocationMetadata(Map<String, Object>, ClassInfoHolder, String) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addMethods(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- addSuperclass(Map<String, Object>, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- applyActPrompt(Configurator) - Method in class org.machanism.machai.gw.maven.ActMojo
-
Ensures an act prompt is stored in Maven user properties.
- artifactMap - Variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Maps fully qualified class names to Maven artifact coordinates in the form
groupId:artifactId:versionwhen the class comes from a dependency.
B
- basedir - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
The Maven module base directory.
- Build integration model - Search tag in Overview
- Section
C
- CLASS_NAME_PROPERTY - Static variable in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- Class diagram - Search tag in Overview
- Section
- classes - Variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
All classes visible from the constructed project class loader.
- ClassFunctionalTools - Class in org.machanism.machai.gw.maven.tools
-
Provides function-tool integrations for discovering Java classes and reading reflective metadata from the classpath of one or more Maven projects.
- ClassFunctionalTools() - Constructor for class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Creates an empty instance.
- ClassFunctionalTools(MavenProject) - Constructor for class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Creates a new instance backed by the supplied Maven project's classpath.
- classFunctionTools - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Tool set exposed to the processor for class-related project introspection.
- ClassInfoHolder - Class in org.machanism.machai.gw.maven.tools
-
Holds class discovery and lookup data for a single Maven project.
- ClassInfoHolder(MavenProject) - Constructor for class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Creates a holder for the supplied Maven project and eagerly initializes class discovery metadata.
- classInfoProjectMap - Variable in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Holds class metadata by Maven project base directory.
- classLoader - Variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Class loader built from the Maven project classpath and output directories.
- classPathMap - Variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Maps fully qualified class names to the filesystem path or jar path from which they were resolved.
- Common inherited parameters - Search tag in class org.machanism.machai.gw.maven.ActMojo
- Section
- configureAndScan(ActProcessor) - Method in class org.machanism.machai.gw.maven.ActMojo
-
Resolves the effective act prompt and scans documents when an act is available.
E
- excludes - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Exclude patterns or path skipped during scanning.
- execute() - Method in class org.machanism.machai.gw.maven.ActMojo
-
Executes the configured act goal.
- execute() - Method in class org.machanism.machai.gw.maven.ActPerModuleMojo
- execute() - Method in class org.machanism.machai.gw.maven.GWMojo
-
Executes the
gw:gwgoal. - execute() - Method in class org.machanism.machai.gw.maven.GWPerModuleMojo
F
- findClass(String, File) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Finds fully qualified class names whose simple names match the supplied regular expression.
- findClasses(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Finds classes whose simple names match the supplied regular expression.
- forEachNonPrivate(T[], Consumer<T>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- FT_NOT_SUPPORTED_FOR_PROJECT_MSG - Static variable in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Message returned when a tool call is made for a project that has not been scanned and registered in this instance.
G
- getArtifactId(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Returns the Maven artifact coordinates associated with the supplied fully qualified class name.
- getClassEntries(String, File) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
- getClassInfo(String, File) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Returns reflective information for the specified class.
- getClassPath(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Returns the originating path for the supplied fully qualified class name.
- getConfiguration() - Method in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Builds the processor configuration.
- getSourcePath(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Returns the source file path for the supplied fully qualified class name.
- Goals - Search tag in Overview
- Section
- GW Maven Plugin - Search tag in Overview
- Section
- GWMojo - Class in org.machanism.machai.gw.maven
-
Maven goal that scans project files for Ghostwriter guidance comments and executes the configured AI-assisted processing workflow.
- GWMojo() - Constructor for class org.machanism.machai.gw.maven.GWMojo
- GWPerModuleMojo - Class in org.machanism.machai.gw.maven
-
Maven goal that processes documents for the current Maven module.
- GWPerModuleMojo() - Constructor for class org.machanism.machai.gw.maven.GWPerModuleMojo
I
- Inherited parameters - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- Inherited parameters (from AbstractGWMojo) - Search tag in class org.machanism.machai.gw.maven.ActPerModuleMojo
- Section
- Inherited parameters (from ActMojo) - Search tag in class org.machanism.machai.gw.maven.ActPerModuleMojo
- Section
- init() - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Lazily initializes class discovery state on first access.
- instructions - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Instruction locations consumed by the workflow.
- isSupportedClassEntry(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
L
- loadClass(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Loads a class by its fully qualified name using the holder's class loader.
- loadClassList(MavenProject) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Builds the project class loader and captures all classes visible from it.
- loadClassLocations(MavenProject) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Scans the project's output directory and resolved dependency artifacts to map classes back to their origin.
- logger - Static variable in class org.machanism.machai.gw.maven.AbstractGWMojo
- logger - Static variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
M
- model - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Provider/model identifier to pass to the workflow.
- MODIFIERS_PROPERTY - Static variable in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- MONITOR - Static variable in class org.machanism.machai.gw.maven.ActMojo
O
- org.machanism.machai.gw.maven - Search tag in Overview
- Section
- org.machanism.machai.gw.maven - package org.machanism.machai.gw.maven
-
Provides Maven plugin mojos that run Machai Ghostwriter guidance and act workflows against Maven project files.
- org.machanism.machai.gw.maven.tools - Search tag in Overview
- Section
- org.machanism.machai.gw.maven.tools - package org.machanism.machai.gw.maven.tools
-
Provides helper types that expose Java class discovery and reflection metadata as function tools for the Ghostwriter Maven plugin.
- Overview - Search tag in Overview
- Section
P
- Package structure - Search tag in Overview
- Section
- Parameters - Search tag in class org.machanism.machai.gw.maven.AbstractGWMojo
- Section
- Parameters - Search tag in class org.machanism.machai.gw.maven.ActPerModuleMojo
- Section
- Parameters - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- Parameters declared by this goal - Search tag in class org.machanism.machai.gw.maven.ActMojo
- Section
- Parameters inherited from AbstractGWMojo - Search tag in class org.machanism.machai.gw.maven.GWMojo
- Section
- path - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Optional scan root override.
- Plugin configuration - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- populateClassInfo(ClassInfoHolder, String, Class<?>) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- Primary responsibilities - Search tag in Overview
- Section
- process(ActProcessor) - Method in class org.machanism.machai.gw.maven.ActMojo
-
Applies runtime configuration to the supplied act processor and starts document scanning.
- processClassEntry(String, String, String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
- Process each module in the current reactor build - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- Processing order for gw:act - Search tag in class org.machanism.machai.gw.maven.ActMojo
- Section
- project - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
The current Maven project.
- project - Variable in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Maven project used as the source of classpath, output directory, and dependency metadata.
- prompter - Variable in class org.machanism.machai.gw.maven.ActMojo
-
Interactive prompt provider used to collect action input.
R
- reactorProjects - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Reactor projects available in the current Maven session.
- readText(String) - Method in class org.machanism.machai.gw.maven.ActMojo
-
Reads multi-line input from the interactive
Prompter. - Resolve GenAI credentials from Maven settings - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- resolveProjectByArtifactId(List<MavenProject>, Model) - Static method in class org.machanism.machai.gw.maven.GWMojo
-
Resolves the Maven project from the current session that matches the artifact id of the supplied effective model.
- Restrict scanning to a module documentation directory - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
S
- scanClassesByPath(String, String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Scans a directory of compiled classes or a jar file and records eligible classes that can be loaded by this holder's class loader.
- scanClassesByPath(Set<Artifact>) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
-
Scans each resolved dependency artifact for loadable classes.
- scanDocuments(ActProcessor) - Method in class org.machanism.machai.gw.maven.ActMojo
-
Scans the resolved project path with the configured act processor.
- scanDocuments(ActProcessor) - Method in class org.machanism.machai.gw.maven.ActPerModuleMojo
- scanDocuments(GuidanceProcessor) - Method in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Configures and executes document scanning for the current project context.
- scanProjectClasses(MavenProject) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
-
Registers a project by scanning and caching class metadata for its base directory.
- serverId - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Maven
serverid used to resolve GenAI credentials. - session - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
The current Maven session.
- settings - Variable in class org.machanism.machai.gw.maven.AbstractGWMojo
-
Maven settings used to resolve credentials from
settings.xml. - Shared configuration concepts - Search tag in Overview
- Section
T
- toClassName(String) - Method in class org.machanism.machai.gw.maven.tools.ClassInfoHolder
- toCoord(MavenProject) - Static method in class org.machanism.machai.gw.maven.GWMojo
-
Formats a Maven project as a coordinate string used in duplicate-artifact diagnostics.
- toParameterTypes(Class<?>[]) - Method in class org.machanism.machai.gw.maven.tools.ClassFunctionalTools
- Typical usage - Search tag in Overview
- Section
- Typical usage - Search tag in package org.machanism.machai.gw.maven
- Section
U
- updateMavenProjectLayout(MavenProjectLayout, Model) - Method in class org.machanism.machai.gw.maven.ActMojo
- Usage examples - Search tag in class org.machanism.machai.gw.maven.ActPerModuleMojo
- Section
- Usage examples - Search tag in class org.machanism.machai.gw.maven.GWMojo
- Section
- Usage examples - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
- Use instructions and excludes while processing reactor modules - Search tag in class org.machanism.machai.gw.maven.GWPerModuleMojo
- Section
All Classes and Interfaces|All Packages|Constant Field Values