Examples of YesNoConfirmerFlow


Examples of org.speakright.core.flows.YesNoConfirmerFlow

    void init2()
    {
      add(new PromptFlow("g'day!"));
          SROQuantity qflow = new SROQuantity("bottles", 1, 10);
          qflow.setConfirmer(new YesNoConfirmerFlow("yn.grxml"));
      add(qflow);
      add(new PFlow("You said {$INPUT}"));
      add(new DisconnectFlow("bye"));
    }
View Full Code Here

Examples of org.speakright.core.flows.YesNoConfirmerFlow

  TrailWrapper createApp()
  {
        SRApp flow = new SRApp();
        flow.add(new PromptFlow("hey"));
        QuestionFlow quest = new QuestionFlow("abc.grxml", "What size?");
        YesNoConfirmerFlow confirmer = new YesNoConfirmerFlow("yn.grxml");
        confirmer.setName("ConfYNFlow");
        ConfirmationWrapper cw = new ConfirmationWrapper(quest, confirmer);
        flow.add(cw);
    TrailWrapper wrap1 = new TrailWrapper(flow);
    return wrap1;   
  }
View Full Code Here

Examples of org.speakright.core.flows.YesNoConfirmerFlow

  @Test public void confirmModel()
  {
        SRApp flow = new SRApp();
        flow.add(new PromptFlow("hey"));
        AskCityFlow quest = new AskCityFlow();
        YesNoConfirmerFlow confirmer = new YesNoConfirmerFlow("yn.grxml");
        confirmer.setName("ConfYNFlow");
        ConfirmationWrapper cw = new ConfirmationWrapper(quest, confirmer);
        flow.add(cw);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
View Full Code Here

Examples of org.speakright.core.flows.YesNoConfirmerFlow

  YesNoConfirmerFlow m_confirmer;

  public SROConfirmYesNo(String subject)
  {
    super(subject);
    m_confirmer = new YesNoConfirmerFlow("notused.gsl");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.