Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractMcpMojo - Class in org.tentackle.maven.plugin.mcp
-
Base mojo for the MCP server.
- AbstractMcpMojo() - Constructor for class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
- add(Object...) - Method in class org.tentackle.maven.plugin.mcp.render.TextTable
-
Adds a row.
- addWarning(String) - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Adds a warning to be reported with every overview and validation result.
- ALL - Enum constant in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Everything in the hierarchy: own, inherited, and sub-entity members.
- allBackendNames() - Static method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the names of all backends known to the runtime.
- annotations() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- ANY - Static variable in class org.tentackle.maven.plugin.mcp.render.NamePattern
-
Matches everything.
- arguments() - Method in class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
- attributes(Entity) - Method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Gets the attributes of an entity in this scope.
- awaitShutdown() - Method in class org.tentackle.maven.plugin.mcp.ServeMojo
-
Blocks until the JVM is asked to terminate.
B
- backendNames() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
backendNamesrecord component. - backendNames() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the names of the configured backends.
- backends - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
The comma-separated list of database backends the model is validated against.
Without them names, types, and sizes are not verified. - bool(String, boolean) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Gets a boolean argument.
- bool(String, String, boolean) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds a boolean property.
- build() - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Builds the schema.
C
- call(ModelSession.ModelOperation) - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Invokes an operation on the model, exclusively.
- CANDIDATE_MODEL_SUFFIX - Static variable in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
-
The name suffix of the scratch model a candidate is validated in.
- checkStale() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Refreshes the model if any model file changed since the last check.
- COLUMN_GAP - Static variable in class org.tentackle.maven.plugin.mcp.render.TextTable
-
The gap between two columns.
- create(ModelSession, String, String, String, int) - Static method in class org.tentackle.maven.plugin.mcp.McpFeatureFactory
-
Creates the feature.
- create(ModelSession, ToolRegistry, String, String, String) - Static method in class org.tentackle.maven.plugin.mcp.McpFeatureFactory
-
Creates the feature with the given tools.
- createModelConfiguration() - Method in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Creates the configuration for the model session.
D
- DdlTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Renders the DDL of the model.
- DdlTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.DdlTool
-
Creates the tool.
- DEFAULT_MAX_DEPTH - Static variable in class org.tentackle.maven.plugin.mcp.tool.PathsTool
-
The default maximum number of hops.
- DEFAULT_SECTIONS - Static variable in class org.tentackle.maven.plugin.mcp.render.EntityDescriber
-
The sections rendered when the caller names none.
- DEFAULT_STALENESS_CHECK_MILLIS - Static variable in class org.tentackle.maven.plugin.mcp.ModelSession
-
Default minimum delay between two checks for changed model files in milliseconds.
- describe() - Method in class org.tentackle.maven.plugin.mcp.render.EntityDescriber
-
Renders the description.
- describe(Relation) - Static method in class org.tentackle.maven.plugin.mcp.render.Entities
-
Renders a relation as a short, readable phrase.
- DescribeEntityTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Describes one entity.
- DescribeEntityTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
-
Creates the tool.
- describePath(List) - Static method in class org.tentackle.maven.plugin.mcp.render.Entities
-
Renders a path of relations as an arrow chain.
- description() - Method in class org.tentackle.maven.plugin.mcp.resource.EntityResource
- description() - Method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
- description() - Method in class org.tentackle.maven.plugin.mcp.resource.IndexResource
- description() - Method in class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
- description() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- DIRECTIONS - Static variable in class org.tentackle.maven.plugin.mcp.tool.PathsTool
-
The directions of a relation path may be traversed in.
- DOCUMENT - Static variable in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
-
The absolute classpath location of the packaged document, see the
copy-grammarexecution.
E
- Entities - Class in org.tentackle.maven.plugin.mcp.render
-
Locating and ordering entities.
- ENTITY_FILTERS - Static variable in class org.tentackle.maven.plugin.mcp.render.Flags
-
The entity filters usable in a listing, in the order they are documented.
- entityAliases - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
The entity aliases.
- entityAliases() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
entityAliasesrecord component. - EntityDescriber - Class in org.tentackle.maven.plugin.mcp.render
-
Describes one entity.
- EntityDescriber(Entity, Scope, Collection, ModelDefaults, Collection) - Constructor for class org.tentackle.maven.plugin.mcp.render.EntityDescriber
-
Creates a describer.
- EntityResource - Class in org.tentackle.maven.plugin.mcp.resource
-
Serves the model source of one entity, addressed by a URI template.
- EntityResource(ModelSession) - Constructor for class org.tentackle.maven.plugin.mcp.resource.EntityResource
-
Creates the resource.
- enumeration(String, String, String, String...) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds a string property restricted to a set of values.
- equals(Object) - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Indicates whether some other object is "equal to" this one.
- execute() - Method in interface org.tentackle.maven.plugin.mcp.ModelSession.ModelOperation
-
Performs the operation.
- execute() - Method in class org.tentackle.tentackle_mcp_maven_plugin.HelpMojo
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.DdlTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.FindTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
- execute(ModelSession, ToolArguments) - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Executes the tool.
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.PathsTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.SourceTool
- execute(ModelSession, ToolArguments) - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
- executeImpl() - Method in class org.tentackle.maven.plugin.mcp.ServeMojo
F
- filesets - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
The list of file sets containing the model.
If set, the modelDir is ignored. - FindTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Searches the model by name.
- FindTool(int) - Constructor for class org.tentackle.maven.plugin.mcp.tool.FindTool
-
Creates the tool.
- Flags - Class in org.tentackle.maven.plugin.mcp.render
-
Renders the boolean facets of a model element as a compact, greppable list.
- FORMATS - Static variable in class org.tentackle.maven.plugin.mcp.tool.SourceTool
-
The available formats.
- fromResources() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
fromResourcesrecord component.
G
- getBackend(String) - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the backend for the given name.
- getBackends() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the backends the model is validated against.
- getConfiguration() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the model configuration.
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.DdlTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.FindTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
- getDescription() - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Gets the description telling an agent when to use this tool.
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.PathsTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.SourceTool
- getDescription() - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
- getEntityAliases() - Method in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Gets the entity aliases.
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.DdlTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.FindTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
- getInputSchema() - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Gets the JSON schema of the arguments.
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.PathsTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.SourceTool
- getInputSchema() - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
- getModel() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the model.
- getModelDefaults() - Method in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Gets the model defaults.
- getModelDirectories() - Method in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Gets the directories holding the model, in load order.
- getModelFileCount() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the number of model source files found in the configured directories.
- getModelSource(Entity) - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the model source of an entity as loaded.
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.DdlTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.FindTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
- getName() - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Gets the tool name as seen by the client.
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.PathsTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.SourceTool
- getName() - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.DdlTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.FindTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
- getTitle() - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Gets the human-readable title.
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.PathsTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.SourceTool
- getTitle() - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
- getTool(String) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolRegistry
-
Gets a tool by name.
- getTools() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolRegistry
-
Gets all tools in discovery order.
- getWarnings() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Gets the configuration warnings.
- GrammarResource - Class in org.tentackle.maven.plugin.mcp.resource
-
Serves the model-definition DSL reference.
- GrammarResource() - Constructor for class org.tentackle.maven.plugin.mcp.resource.GrammarResource
-
Creates the resource.
H
- hashCode() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns a hash code value for this object.
- HelpMojo - Class in org.tentackle.tentackle_mcp_maven_plugin
-
Display help information on tentackle-mcp-maven-plugin.
Callmvn tentackle-mcp:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class org.tentackle.tentackle_mcp_maven_plugin.HelpMojo
I
- ID_PREFIX - Static variable in class org.tentackle.maven.plugin.mcp.render.Entities
-
The prefix addressing an entity by its class id.
- indexes(Entity) - Method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Gets the indexes of an entity in this scope.
- IndexResource - Class in org.tentackle.maven.plugin.mcp.resource
-
Serves the entity index.
- IndexResource(ModelSession) - Constructor for class org.tentackle.maven.plugin.mcp.resource.IndexResource
-
Creates the resource.
- INHERITED - Enum constant in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
What the entity declares plus what it inherits from its super entities.
- integer(String, int) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Gets an integer argument.
- integer(String, String, int) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds an integer property.
- isAny() - Method in class org.tentackle.maven.plugin.mcp.render.NamePattern
-
Returns whether this pattern matches everything.
- isEmpty() - Method in class org.tentackle.maven.plugin.mcp.render.TextTable
-
Returns whether the table holds no rows.
- isReadOnly() - Method in interface org.tentackle.maven.plugin.mcp.tool.ModelTool
-
Returns whether this tool only reads the model.
- isReadOnly() - Method in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
- isReadOnly() - Method in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
J
- join(List) - Static method in class org.tentackle.maven.plugin.mcp.render.Flags
-
Joins flags into a single cell value.
K
- KINDS - Static variable in class org.tentackle.maven.plugin.mcp.tool.FindTool
-
The kinds of the element that can be searched.
- KINDS - Static variable in class org.tentackle.maven.plugin.mcp.tool.PathsTool
-
The kinds of connection that can be traced.
L
- list(String, List) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Gets a list argument.
- ListEntitiesTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Lists the entities of the model.
- ListEntitiesTool(int) - Constructor for class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
-
Creates the tool.
- load() - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Loads the model from scratch.
- load() - Static method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
-
Loads the packaged document.
- loadModelFromDependencies - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Load the model from the plugin dependencies on the classpath as well.
M
- mapSchemas - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
True if schema names are mapped.
- matches(String) - Method in class org.tentackle.maven.plugin.mcp.render.NamePattern
-
Returns whether a name matches.
- matches(Entity, String) - Static method in class org.tentackle.maven.plugin.mcp.render.Flags
-
Returns whether an entity matches a filter.
- McpFeatureFactory - Class in org.tentackle.maven.plugin.mcp
-
Assembles the MCP server feature.
- mediaType() - Method in class org.tentackle.maven.plugin.mcp.resource.EntityResource
- mediaType() - Method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
- mediaType() - Method in class org.tentackle.maven.plugin.mcp.resource.IndexResource
- MODEL_FILE_EXTENSION - Static variable in class org.tentackle.maven.plugin.mcp.ModelSession
-
The extension of a model source file.
- ModelConfiguration - Record Class in org.tentackle.maven.plugin.mcp
-
Everything the
ModelSessionneeds to load a model. - ModelConfiguration(String, List, boolean, ModelDefaults, EntityAliases, boolean, String) - Constructor for record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Creates a configuration.
- modelDefaults - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
The model defaults.
Without them the model is loaded exactly as written, which usually differs from what the build sees. - modelDefaults() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
modelDefaultsrecord component. - modelDir - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
Directory holding the model files to be processed.
Ignored if filesets explicitly given. - modelDirs() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
modelDirsrecord component. - modelName - Variable in class org.tentackle.maven.plugin.mcp.AbstractMcpMojo
-
The model name.
- modelName() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
modelNamerecord component. - ModelSession - Class in org.tentackle.maven.plugin.mcp
-
Holds the loaded model and everything the tools need to work on it consistently.
- ModelSession(ModelConfiguration, long) - Constructor for class org.tentackle.maven.plugin.mcp.ModelSession
-
Creates a session.
- ModelSession.ModelOperation<T> - Interface in org.tentackle.maven.plugin.mcp
-
An operation on the loaded model.
- ModelTool - Interface in org.tentackle.maven.plugin.mcp.tool
-
A tool offered to the MCP client.
N
- name() - Method in class org.tentackle.maven.plugin.mcp.resource.EntityResource
- name() - Method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
- name() - Method in class org.tentackle.maven.plugin.mcp.resource.IndexResource
- name() - Method in class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
- name() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
-
The prompt name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.DdlTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.DescribeEntityTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.FindTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.ListEntitiesTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.OverviewTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.PathsTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.ReloadTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.SourceTool
-
The tool name.
- NAME - Static variable in class org.tentackle.maven.plugin.mcp.tool.ValidateTool
-
The tool name.
- NamePattern - Class in org.tentackle.maven.plugin.mcp.render
-
Matches names by substring, glob, or regular expression.
- NamePattern(String) - Constructor for class org.tentackle.maven.plugin.mcp.render.NamePattern
-
Creates a pattern.
- NAMES - Static variable in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
The allowed values, for a JSON schema enumeration.
- NewEntityPrompt - Class in org.tentackle.maven.plugin.mcp.resource
-
Guides an agent through adding an entity to the model.
- NewEntityPrompt() - Constructor for class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
-
Creates the prompt.
O
- of(McpParameters) - Static method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Creates arguments backed by an MCP request.
- of(Map) - Static method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Creates arguments backed by a map.
- of(Attribute) - Static method in class org.tentackle.maven.plugin.mcp.render.Flags
-
Gets the flags of an attribute.
- of(Entity) - Static method in class org.tentackle.maven.plugin.mcp.render.Flags
-
Gets the flags of an entity.
- of(Relation) - Static method in class org.tentackle.maven.plugin.mcp.render.Flags
-
Gets the flags of a relation.
- org.tentackle.maven.plugin.mcp - package org.tentackle.maven.plugin.mcp
-
MCP server support for the Tentackle model.
- org.tentackle.maven.plugin.mcp.render - package org.tentackle.maven.plugin.mcp.render
-
Rendering the model as readable text.
- org.tentackle.maven.plugin.mcp.resource - package org.tentackle.maven.plugin.mcp.resource
-
The resources and prompts offered to the MCP client.
- org.tentackle.maven.plugin.mcp.tool - package org.tentackle.maven.plugin.mcp.tool
-
The tools offered to the MCP client.
- org.tentackle.tentackle_mcp_maven_plugin - package org.tentackle.tentackle_mcp_maven_plugin
- OverviewTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Reports what model is loaded and how it is shaped.
- OverviewTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.OverviewTool
-
Creates the tool.
- OWN - Enum constant in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Only what the entity declares itself.
P
- parse(String, Scope) - Static method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Parses a scope.
- PARTS - Static variable in class org.tentackle.maven.plugin.mcp.tool.DdlTool
-
The parts of the DDL that can be rendered.
- PathsTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Shows how two entities are connected.
- PathsTool(int) - Constructor for class org.tentackle.maven.plugin.mcp.tool.PathsTool
-
Creates the tool.
- prompt(McpPromptRequest) - Method in class org.tentackle.maven.plugin.mcp.resource.NewEntityPrompt
- providesTable(Entity) - Static method in class org.tentackle.maven.plugin.mcp.render.Entities
-
Returns whether an entity gets a table of its own in the generated DDL.
Q
- quote(String) - Static method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Quotes a string as a JSON literal.
R
- referencingRelations(Entity) - Method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Gets the relations referencing an entity in this scope.
- REGEX_PREFIX - Static variable in class org.tentackle.maven.plugin.mcp.render.NamePattern
-
The prefix selecting a regular expression.
- register(ModelTool) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolRegistry
-
Adds a tool.
- relations(Entity) - Method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Gets the relations of an entity in this scope.
- reload(boolean) - Method in class org.tentackle.maven.plugin.mcp.ModelSession
-
Reloads the model.
- ReloadTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Reloads the model.
- ReloadTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.ReloadTool
-
Creates the tool.
- requiredString(String) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Gets a mandatory string argument.
- requiredString(String, String) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds a mandatory string property.
- resolve(Model, String) - Static method in class org.tentackle.maven.plugin.mcp.render.Entities
-
Resolves an entity.
- resource(McpResourceRequest) - Method in class org.tentackle.maven.plugin.mcp.resource.EntityResource
- resource(McpResourceRequest) - Method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
- resource(McpResourceRequest) - Method in class org.tentackle.maven.plugin.mcp.resource.IndexResource
S
- schema() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- SchemaBuilder - Class in org.tentackle.maven.plugin.mcp.tool
-
Builds the JSON schema of a tool's arguments.
- SchemaBuilder() - Constructor for class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Creates a builder for an object schema.
- schemaNameMapped() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns the value of the
schemaNameMappedrecord component. - Scope - Enum Class in org.tentackle.maven.plugin.mcp.render
-
Which part of an inheritance hierarchy a member list covers.
- SECTIONS - Static variable in class org.tentackle.maven.plugin.mcp.render.EntityDescriber
-
The sections that can be rendered; in the order they are rendered.
- ServeMojo - Class in org.tentackle.maven.plugin.mcp
-
Serves the model to coding agents over MCP.
- ServeMojo() - Constructor for class org.tentackle.maven.plugin.mcp.ServeMojo
- size() - Method in class org.tentackle.maven.plugin.mcp.render.TextTable
-
Gets the number of rows.
- sorted(Collection) - Static method in class org.tentackle.maven.plugin.mcp.render.Entities
-
Sorts entities by name.
- SourceTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Returns the model definition of an entity as text.
- SourceTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.SourceTool
-
Creates the tool.
- string(String, String) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds an optional string property.
- string(String, String) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolArguments
-
Gets a string argument.
- stringArray(String, String, String...) - Method in class org.tentackle.maven.plugin.mcp.tool.SchemaBuilder
-
Adds an array-of-strings property.
- SUBENTITIES - Enum constant in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
What the entity declares plus what its sub entities add.
T
- TABLE_PREFIX - Static variable in class org.tentackle.maven.plugin.mcp.render.Entities
-
The prefix addressing an entity by its table name.
- TextTable - Class in org.tentackle.maven.plugin.mcp.render
-
A column-aligned text table.
- TextTable(String...) - Constructor for class org.tentackle.maven.plugin.mcp.render.TextTable
-
Creates a table.
- title() - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- tool(McpToolRequest) - Method in class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
- ToolAdapter - Class in org.tentackle.maven.plugin.mcp.tool
-
Presents a
ModelToolto Helidon. - ToolAdapter(ModelTool, ModelSession) - Constructor for class org.tentackle.maven.plugin.mcp.tool.ToolAdapter
-
Creates an adapter.
- ToolArguments - Class in org.tentackle.maven.plugin.mcp.tool
-
The arguments of a tool invocation.
- ToolRegistry - Class in org.tentackle.maven.plugin.mcp.tool
-
The tools this server offers, in order an agent should discover them.
- ToolRegistry(int) - Constructor for class org.tentackle.maven.plugin.mcp.tool.ToolRegistry
-
Creates the registry with all built-in tools.
- toString() - Method in record class org.tentackle.maven.plugin.mcp.ModelConfiguration
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.maven.plugin.mcp.render.NamePattern
- toString() - Method in enum class org.tentackle.maven.plugin.mcp.render.Scope
- toString() - Method in class org.tentackle.maven.plugin.mcp.render.TextTable
-
Renders the table.
U
- uri() - Method in class org.tentackle.maven.plugin.mcp.resource.EntityResource
- uri() - Method in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
- uri() - Method in class org.tentackle.maven.plugin.mcp.resource.IndexResource
- URI - Static variable in class org.tentackle.maven.plugin.mcp.resource.EntityResource
-
The resource URI template.
- URI - Static variable in class org.tentackle.maven.plugin.mcp.resource.GrammarResource
-
The resource URI.
- URI - Static variable in class org.tentackle.maven.plugin.mcp.resource.IndexResource
-
The resource URI.
V
- ValidateTool - Class in org.tentackle.maven.plugin.mcp.tool
-
Validates the model or a candidate definition that has not been written anywhere.
- ValidateTool() - Constructor for class org.tentackle.maven.plugin.mcp.tool.ValidateTool
-
Creates the tool.
- valueOf(String) - Static method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.tentackle.maven.plugin.mcp.render.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFY_MODEL_SUFFIX - Static variable in class org.tentackle.maven.plugin.mcp.ModelSession
-
The name suffix of the scratch model a reload is verified in.
All Classes and Interfaces|All Packages|Constant Field Values