Package org.nightlabs.jfire.trade.recurring

Examples of org.nightlabs.jfire.trade.recurring.RecurringOffer


   */
  @Override
  protected void doExecute(ExecutionContext executionContext)
  throws Exception
  {
    RecurringOffer recurringOffer = (RecurringOffer) getStatable();
    Task recurringTask = recurringOffer.getRecurringOfferConfiguration().getCreatorTask();
    recurringTask.setEnabled(false);
 
View Full Code Here


   */
  @Override
  protected void doExecute(ExecutionContext executionContext)
  throws Exception
  {
    RecurringOffer recurringOffer = (RecurringOffer) getStatable();

    Task recurringTask = recurringOffer.getRecurringOfferConfiguration().getCreatorTask();

    if(!recurringTask.getTimePatternSet().getTimePatterns().isEmpty())
      recurringTask.setEnabled(true);
    else
      throw new IllegalStateException("Recurrence cant be started because of a null timePattern");
View Full Code Here

  @Override
  protected void doExecute(ExecutionContext executionContext)
  throws Exception
  {
    super.doExecute(executionContext);
    RecurringOffer recurringOffer = (RecurringOffer) getStatable();

    Task recurringTask = recurringOffer.getRecurringOfferConfiguration().getCreatorTask();
    recurringTask.setEnabled(false);

  }
View Full Code Here

TOP

Related Classes of org.nightlabs.jfire.trade.recurring.RecurringOffer

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.