Interface IEventContainingStructuredBpmnModelPartBuilder<Self>
- Type Parameters:
Self- The type of the builder.
- All Known Subinterfaces:
IStructuredBpmnModelPartBuilder<Self>, IWorkflowNodeBpmnModelPartBuilder, IWorkflowProcessBpmnModelPartBuilder, IWorkflowTaskBpmnModelPartBuilder, IWorkflowTriggerBpmnModelPartBuilder
public interface IEventContainingStructuredBpmnModelPartBuilder<Self>
A
IStructuredBpmnModelPartBuilder for parts that can contain events. Allows the events that can
be raised to be declared.- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionaddRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error, BpmnRaisableData data) Adds an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().addRaisableError(String errorCode, BpmnRaisableData data) Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().addRaisableErrorsFromParts(IStructuredBpmnModelPart... childParts) Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().addRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().addRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data) Adds an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().addRaisableEscalation(BpmnRaisableEscalation escalation) Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().addRaisableEscalation(String escalationCode, BpmnRaisableData data) Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().addRaisableEscalationsFromParts(IStructuredBpmnModelPart... childParts) Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().addRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().addRaisablesFromParts(IStructuredBpmnModelPart... childParts) Adds all raisable escalations, errors, and escalations from the given parts (usually child parts) to this part, seeraisableEscalations,raisableErrors, andraisableSignals.addRaisablesFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable escalations, errors, and escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations(),IStructuredBpmnModelPart.raisableErrors(), andIStructuredBpmnModelPart.raisableSignals().addRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal, BpmnRaisableData data) Adds a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().addRaisableSignal(BpmnRaisableSignal signal) Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().addRaisableSignal(String signalName, BpmnRaisableData data) Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().addRaisableSignalsFromParts(IStructuredBpmnModelPart... childParts) Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().addRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().raisableErrors(Iterable<BpmnRaisableError> errors) Sets theerrorsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().raisableEscalations(Iterable<BpmnRaisableEscalation> escalations) Sets theescalationsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().raisableSignals(Iterable<BpmnRaisableSignal> signals) Sets thesignalsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().removeRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error) Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().removeRaisableError(String errorCode) Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().removeRaisableErrorsFromParts(IStructuredBpmnModelPart... childParts) Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.removeRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.removeRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation) Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().removeRaisableEscalation(BpmnRaisableEscalation escalation) Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().removeRaisableEscalation(String escalationCode) Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().removeRaisableEscalationsFromParts(IStructuredBpmnModelPart... childParts) Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.removeRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.removeRaisableEvent(de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?> event) Removes allevent definitionsof the given the event from the raisables.removeRaisableEventDefinitions(Iterable<? extends de.xima.bpmn_model.api.element.bpmn.events.EventDefinition<?>> eventDefinitions) Removes allevent definitionsfrom the raisables.removeRaisableEvents(Iterable<? extends de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?>> events) Removes allevent definitionsof the given the events from the raisables.removeRaisablesFromParts(IStructuredBpmnModelPart... childParts) Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.removeRaisablesFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.removeRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal) Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().removeRaisableSignal(String signalName) Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().removeRaisableSignalsFromParts(IStructuredBpmnModelPart... childParts) Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.removeRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.
-
Method Details
-
addRaisableError
Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
error- The error to add.- Returns:
- This builder, for chaining.
-
addRaisableError
@CanIgnoreReturnValue Self addRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error, BpmnRaisableData data) Adds an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
error- The error to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableError
Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
errorCode- The code of the error to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableErrorsFromParts
@CanIgnoreReturnValue Self addRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
childParts- The parts to add errors from.- Returns:
- This builder, for chaining.
-
addRaisableErrorsFromParts
Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
childParts- The parts to add errors from.- Returns:
- This builder, for chaining.
-
addRaisableEscalation
Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalation- The escalation to add.- Returns:
- This builder, for chaining.
-
addRaisableEscalation
@CanIgnoreReturnValue Self addRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data) Adds an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalation- The escalation to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableEscalation
Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalationCode- The code of the escalation to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableEscalationsFromParts
@CanIgnoreReturnValue Self addRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
childParts- The parts to add escalations from.- Returns:
- This builder, for chaining.
-
addRaisableEscalationsFromParts
Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
childParts- The parts to add escalations from.- Returns:
- This builder, for chaining.
-
addRaisableSignal
Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signal- The signal to add.- Returns:
- This builder, for chaining.
-
addRaisableSignal
@CanIgnoreReturnValue Self addRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal, BpmnRaisableData data) Adds a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signal- The signal to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableSignal
Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signalName- The name of the signal to add.data- The data for the signal to add, such as the display name and its details.- Returns:
- This builder, for chaining.
-
addRaisableSignalsFromParts
@CanIgnoreReturnValue Self addRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
childParts- The parts to add signals from.- Returns:
- This builder, for chaining.
-
addRaisableSignalsFromParts
Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
childParts- The parts to add signals from.- Returns:
- This builder, for chaining.
-
addRaisablesFromParts
@CanIgnoreReturnValue Self addRaisablesFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Adds all raisable escalations, errors, and escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations(),IStructuredBpmnModelPart.raisableErrors(), andIStructuredBpmnModelPart.raisableSignals().- Parameters:
childParts- The parts to add raisables from.- Returns:
- This builder, for chaining.
-
addRaisablesFromParts
Adds all raisable escalations, errors, and escalations from the given parts (usually child parts) to this part, seeraisableEscalations,raisableErrors, andraisableSignals.- Parameters:
childParts- The parts to add raisables from.- Returns:
- This builder, for chaining.
-
raisableErrors
Sets theerrorsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Returns:
- This builder, for chaining.
-
raisableEscalations
Sets theescalationsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Returns:
- This builder, for chaining.
-
raisableSignals
Sets thesignalsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Returns:
- This builder, for chaining.
-
removeRaisableError
Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
errorCode- The code of the error to remove.- Returns:
- This builder, for chaining.
-
removeRaisableError
Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
error- An error to remove.- Returns:
- This builder, for chaining.
-
removeRaisableError
@CanIgnoreReturnValue Self removeRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error) Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Parameters:
error- An error to remove.- Returns:
- This builder, for chaining.
-
removeRaisableErrorsFromParts
Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.- Parameters:
childParts- The parts with raisable errors to remove.- Returns:
- This builder, for chaining.
-
removeRaisableErrorsFromParts
@CanIgnoreReturnValue Self removeRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.- Parameters:
childParts- The parts with raisable errors to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEscalation
Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalationCode- The code of the escalation to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEscalation
Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalation- An escalation to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEscalation
@CanIgnoreReturnValue Self removeRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation) Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().- Parameters:
escalation- An escalation to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEscalationsFromParts
@CanIgnoreReturnValue Self removeRaisableEscalationsFromParts(IStructuredBpmnModelPart... childParts) Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.- Parameters:
childParts- The parts with raisable escalations to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEscalationsFromParts
@CanIgnoreReturnValue Self removeRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.- Parameters:
childParts- The parts with raisable escalations to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEvent
@CanIgnoreReturnValue Self removeRaisableEvent(de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?> event) Removes allevent definitionsof the given the event from the raisables.- Parameters:
event- The event to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEventDefinitions
@CanIgnoreReturnValue Self removeRaisableEventDefinitions(Iterable<? extends de.xima.bpmn_model.api.element.bpmn.events.EventDefinition<?>> eventDefinitions) Removes allevent definitionsfrom the raisables.- Parameters:
eventDefinitions- The event definitions to remove.- Returns:
- This builder, for chaining.
-
removeRaisableEvents
-
removeRaisableSignal
Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signalName- The name of the signal to remove.- Returns:
- This builder, for chaining.
-
removeRaisableSignal
Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signal- The name of the signal to remove.- Returns:
- This builder, for chaining.
-
removeRaisableSignal
@CanIgnoreReturnValue Self removeRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal) Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Parameters:
signal- The name of the signal to remove.- Returns:
- This builder, for chaining.
-
removeRaisableSignalsFromParts
Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.- Parameters:
childParts- The parts with raisable signals to remove.- Returns:
- This builder, for chaining.
-
removeRaisableSignalsFromParts
@CanIgnoreReturnValue Self removeRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.- Parameters:
childParts- The parts with raisable signals to remove.- Returns:
- This builder, for chaining.
-
removeRaisablesFromParts
Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.- Parameters:
childParts- The parts which raisables to remove.- Returns:
- This builder, for chaining.
-
removeRaisablesFromParts
@CanIgnoreReturnValue Self removeRaisablesFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts) Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.- Parameters:
childParts- The parts which raisables to remove.- Returns:
- This builder, for chaining.
-