@Requires(beans=SkillBuilderProvider.class) @Requires(beans=AlexaSkillBuilder.class) @Factory public class StandardSkillFactory extends java.lang.Object
AlexaSkill
if no other alexa skills beans are present.Constructor and Description |
---|
StandardSkillFactory(AlexaSkillBuilder alexaSkillBuilder,
SkillBuilderProvider skillBuilderProvider) |
Modifier and Type | Method and Description |
---|---|
com.amazon.ask.Skill |
createSkill(AlexaSkillConfiguration alexaSkillConfiguration) |
com.amazon.ask.AlexaSkill |
createStandardAlexaSkill(AlexaSkillConfiguration alexaSkillConfiguration) |
public StandardSkillFactory(AlexaSkillBuilder alexaSkillBuilder, SkillBuilderProvider skillBuilderProvider)
alexaSkillBuilder
- Alexa Skill BuilderskillBuilderProvider
- Skill Builder Provider@EachBean(value=AlexaSkillConfiguration.class) public com.amazon.ask.AlexaSkill createStandardAlexaSkill(@Parameter AlexaSkillConfiguration alexaSkillConfiguration)
alexaSkillConfiguration
- Alexa Skill ConfigurationAlexaSkillBuilder
and the SkillBuilderProvider
bean.@EachBean(value=AlexaSkillConfiguration.class) public com.amazon.ask.Skill createSkill(@Parameter AlexaSkillConfiguration alexaSkillConfiguration)
alexaSkillConfiguration
- Alexa Skill ConfigurationAlexaSkillBuilder
and the SkillBuilderProvider
bean.