Class ClasspathPrompt
java.lang.Object
io.micronaut.mcp.primitives.prompts.ClasspathPrompt
@EachProperty("micronaut.mcp.classpath-prompts")
@Internal
public class ClasspathPrompt
extends Object
EachProperty
to drive the creation of Prompts via configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getPath()
getTitle()
void
setArguments
(List<PromptArgument> arguments) void
setDescription
(String description) void
void
setNameQualifier
(String nameQualifier) void
void
-
Constructor Details
-
ClasspathPrompt
- Parameters:
name
- Name Qualifier
-
-
Method Details
-
getName
- Returns:
- Prompt name
-
setName
- Parameters:
name
- Prompt Name
-
getNameQualifier
- Returns:
- Name Qualifier
-
setNameQualifier
- Parameters:
nameQualifier
- Name Qualifier
-
getTitle
- Returns:
- Prompt Title
-
setTitle
- Parameters:
title
- Prompt title
-
getDescription
- Returns:
- Prompt Description
-
setDescription
- Parameters:
description
- Prompt description
-
getArguments
- Returns:
- Prompt arguments
-
setArguments
- Parameters:
arguments
- Prompt arguments
-
getPath
- Returns:
- path to the prompt resource. Don't include the `classpath:` prefix
-
setPath
- Parameters:
path
- path to the prompt resource. Don't include the `classpath:` prefix
-