Package io.micronaut.chatbots.core
Interface ChatbotsConfiguration
-
- All Superinterfaces:
io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
ChatbotsConfigurationProperties
public interface ChatbotsConfiguration extends io.micronaut.core.util.Toggleable
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX
The prefix for chatbots configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFolder()
java.util.List<FileExtension>
getPossibleStaticCommandExtensions()
-
-
-
Field Detail
-
PREFIX
static final java.lang.String PREFIX
The prefix for chatbots configuration.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPossibleStaticCommandExtensions
@Nullable java.util.List<FileExtension> getPossibleStaticCommandExtensions()
- Returns:
- the command file extensions candidates for static resource. For a command such as
/help
and extensions HTML and MARKDOWN, possible files arehelp.md
,help.markdown
, andhelp.html
-
getFolder
@NonNull java.lang.String getFolder()
- Returns:
- The resources' folder where static commands should be searched for.
-
-