Package org.speakright.core

Examples of org.speakright.core.ExitEvent


    add(m_menu);
  }
   
  @Override public IFlow onDisconnect(IFlow current, SRResults results)
  {
    return new ExitEvent();
  }
View Full Code Here


  }

  @Override
  public IFlow onDisconnect(IFlow current, SRResults results)
  {
    return new ExitEvent();
  }
View Full Code Here

  {
    //return new ExitFlowEvent();
    //catch all and ignore, and continue
    IFlow flow = getNext(current, results);
    if (flow == null) {
      flow = new ExitEvent();
    }
    return flow;
  }
View Full Code Here

  }

  @Override
  public IFlow onValidateFailed(IFlow current, SRResults results)
  {
    return new ExitEvent();
  }
View Full Code Here

   * @return
   */
  protected IFlow transferToOperator()
  {
//    return new TransferFlow(TransferFlow.TransferType.Bridge, "222", "see ya");
    return new ExitEvent();
  }
View Full Code Here

  /**
   * The default implementation of onDisconnect is to transfer to the operator.
   */
  public IFlow onDisconnect(IFlow current, SRResults results)
  {
    return new ExitEvent(); //discflow later!!
  }
View Full Code Here

  }
  @Override
  public IFlow getNext(IFlow current, SRResults results)
  {
    if (m_exitInGetNext) {
      return new ExitEvent();
    }
    else if (m_throwInGetNext) {
      return new ThrowEvent();
    }
     
View Full Code Here

  }
 
  @Override
  public IFlow onNoInput(IFlow current, SRResults results)
  {
    return (m_handleNoInput) ? new ExitEvent() : null;
  }
View Full Code Here

TOP

Related Classes of org.speakright.core.ExitEvent

Copyright © 2018 www.massapicom. 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.