added the uml for the project

This commit is contained in:
2020-09-07 00:18:10 +02:00
parent 9df0ceefff
commit 0788700851
3 changed files with 2 additions and 2 deletions

BIN
WizardSkillDiagram.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

View File

@@ -9,7 +9,7 @@ import static com.amazon.ask.request.Predicates.intentName;
import com.amazon.ask.model.Response; import com.amazon.ask.model.Response;
public class CancelandStopIntentHandler implements RequestHandler { public class CancelAndStopIntentHandler implements RequestHandler {
public boolean canHandle(HandlerInput input) { public boolean canHandle(HandlerInput input) {
return input.matches(intentName("AMAZON.StopIntent").or(intentName("AMAZON.CancelIntent"))); return input.matches(intentName("AMAZON.StopIntent").or(intentName("AMAZON.CancelIntent")));

View File

@@ -11,7 +11,7 @@ public class HelloWorldStreamHandler extends SkillStreamHandler {
private static Skill getSkill(){ private static Skill getSkill(){
return Skills.standard() return Skills.standard()
.addRequestHandlers( .addRequestHandlers(
new CancelandStopIntentHandler(), new CancelAndStopIntentHandler(),
new HelloWorldIntentHandler(), new HelloWorldIntentHandler(),
new HelpIntentHandler(), new HelpIntentHandler(),
new LaunchRequestHandler(), new LaunchRequestHandler(),