Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

🚀 #16

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package org.camunda.bpm.model.bpmn.builder;
import AbstractFlowElementBuilder;
import org.camunda.bpm.model.bpmn.instance.paradigm.flows.FlowNode;
class CommonsAbstractFlowNodeBuilder<B extends DomainAbstractFlowNodeBuilder, E extends FlowNode> extends AbstractFlowElementBuilder<B, E> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Für ne Commons Klasse enthält sie zu wenig Abhängigkeiten zu beiden Ebenen, eig. wäre die erzeugte Domain Klasse besser als Commons Klasse geeignet, da sie zu beiden Ebenen Abhängigkeiten hat

protected SequenceFlowBuilder currentSequenceFlowBuilder;

protected boolean compensationStarted;

/**
* Sets the Camunda AsyncBefore attribute for the build flow node.
*
* @param asyncBefore
* boolean value to set
* @return the builder object
*/
public B camundaAsyncBefore(boolean asyncBefore) {
element.setCamundaAsyncBefore(asyncBefore);
return myself;
}

/**
* Sets the Camunda asyncBefore attribute to true.
*
* @return the builder object
*/
public B camundaAsyncBefore() {
element.setCamundaAsyncBefore(true);
return myself;
}

/**
* Sets the Camunda asyncAfter attribute for the build flow node.
*
* @param asyncAfter
* boolean value to set
* @return the builder object
*/
public B camundaAsyncAfter(boolean asyncAfter) {
element.setCamundaAsyncAfter(asyncAfter);
return myself;
}

/**
* Sets the Camunda asyncAfter attribute to true.
*
* @return the builder object
*/
public B camundaAsyncAfter() {
element.setCamundaAsyncAfter(true);
return myself;
}

/**
* Sets the Camunda exclusive attribute to true.
*
* @return the builder object
*/
public B notCamundaExclusive() {
element.setCamundaExclusive(false);
return myself;
}

/**
* Sets the camunda exclusive attribute for the build flow node.
*
* @param exclusive
* boolean value to set
* @return the builder object
*/
public B camundaExclusive(boolean exclusive) {
element.setCamundaExclusive(exclusive);
return myself;
}

public B camundaJobPriority(String jobPriority) {
element.setCamundaJobPriority(jobPriority);
return myself;
}
}
Loading