Package io.micronaut.aws.alexa.builders
Class MissingAlexaSkillConfigurationSkillFactory
java.lang.Object
io.micronaut.aws.alexa.builders.MissingAlexaSkillConfigurationSkillFactory
@Factory
@Requires(beans=SkillBuilderProvider.class) @Requires(beans=AlexaSkillBuilder.class) @Requires(missingBeans=AlexaSkillConfiguration.class)
public class MissingAlexaSkillConfigurationSkillFactory
extends Object
Creates an Alexa Skill only if no AlexaSkillConfiguration is present.
- Since:
- 2.0.0
- Author:
- sdelamo
-
Constructor Summary
ConstructorDescriptionMissingAlexaSkillConfigurationSkillFactory
(AlexaSkillBuilder alexaSkillBuilder, SkillBuilderProvider skillBuilderProvider) -
Method Summary
Modifier and TypeMethodDescriptioncom.amazon.ask.Skill
com.amazon.ask.AlexaSkill
-
Constructor Details
-
MissingAlexaSkillConfigurationSkillFactory
public MissingAlexaSkillConfigurationSkillFactory(AlexaSkillBuilder alexaSkillBuilder, SkillBuilderProvider skillBuilderProvider) - Parameters:
alexaSkillBuilder
- Alexa Skill BuilderskillBuilderProvider
- Skill Builder Provider
-
-
Method Details
-
createStandardAlexaSkill
@Singleton public com.amazon.ask.AlexaSkill createStandardAlexaSkill()- Returns:
- An Alexa Skill using the
AlexaSkillBuilder
and theSkillBuilderProvider
bean.
-
createSkill
@Singleton public com.amazon.ask.Skill createSkill()- Returns:
- An Skill using the
AlexaSkillBuilder
and theSkillBuilderProvider
bean.
-