added the uml for the project
This commit is contained in:
BIN
WizardSkillDiagram.png
Normal file
BIN
WizardSkillDiagram.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
@@ -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")));
|
||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user