Examples of CmmnActivityBehavior


Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return RE_ACTIVATE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onReactivation(execution);

    execution.setCurrentState(ACTIVE);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

    return execution;
  }

  protected void postTransitionNotification(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.reactivated(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  public boolean isAsync(CmmnExecution execution) {
    return false;
  }

  public void execute(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.created(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return MANUAL_START;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onManualStart(execution);

    execution.setCurrentState(ACTIVE);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

    return execution;
  }

  protected void postTransitionNotification(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.started(execution);

  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return RE_ENABLE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onReenable(execution);

    execution.setCurrentState(ENABLED);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return CLOSE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onClose(execution);

    execution.setCurrentState(CLOSED);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return ENABLE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onEnable(execution);

    execution.setCurrentState(ENABLED);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return START;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onStart(execution);

    execution.setCurrentState(ACTIVE);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

    return execution;
  }

  protected void postTransitionNotification(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.started(execution);
  }
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.