Interface IEventContainingStructuredBpmnModelPartBuilder<Self>
-
- Type Parameters:
Self- The type of the builder.
- All Known Subinterfaces:
IStructuredBpmnModelPartBuilder<Self>,IWorkflowNodeBpmnModelPartBuilder,IWorkflowProcessBpmnModelPartBuilder,IWorkflowTaskBpmnModelPartBuilder,IWorkflowTriggerBpmnModelPartBuilder
public interface IEventContainingStructuredBpmnModelPartBuilder<Self>AIStructuredBpmnModelPartBuilderfor parts that can containevents. Allows the events that can be raised to be declared.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelfaddRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error, BpmnRaisableData data)Adds an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfaddRaisableError(BpmnRaisableError error)Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfaddRaisableError(String errorCode, BpmnRaisableData data)Adds theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfaddRaisableErrorsFromParts(IStructuredBpmnModelPart... childParts)Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().SelfaddRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Adds all raisable errors from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableErrors().SelfaddRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data)Adds an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfaddRaisableEscalation(BpmnRaisableEscalation escalation)Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfaddRaisableEscalation(String escalationCode, BpmnRaisableData data)Adds theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfaddRaisableEscalationsFromParts(IStructuredBpmnModelPart... childParts)Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().SelfaddRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Adds all raisable escalations from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableEscalations().SelfaddRaisablesFromParts(IStructuredBpmnModelPart... childParts)Adds all raisable escalations, errors, and escalations from the given parts (usually child parts) to this part, seeraisableEscalations,raisableErrors, andraisableSignals.SelfaddRaisablesFromParts(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().SelfaddRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal, BpmnRaisableData data)Adds a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfaddRaisableSignal(BpmnRaisableSignal signal)Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfaddRaisableSignal(String signalName, BpmnRaisableData data)Adds thesignal nameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfaddRaisableSignalsFromParts(IStructuredBpmnModelPart... childParts)Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().SelfaddRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Adds all raisable signals from the given parts (usually child parts) to this part, seeIStructuredBpmnModelPart.raisableSignals().SelfraisableErrors(Iterable<BpmnRaisableError> errors)Sets theerrorsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfraisableEscalations(Iterable<BpmnRaisableEscalation> escalations)Sets theescalationsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfraisableSignals(Iterable<BpmnRaisableSignal> signals)Sets thesignalsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfremoveRaisableError(de.xima.bpmn_model.api.element.bpmn.common.Error error)Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfremoveRaisableError(BpmnRaisableError error)Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfremoveRaisableError(String errorCode)Remove theerror codeof an error that can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().SelfremoveRaisableErrorsFromParts(IStructuredBpmnModelPart... childParts)Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.SelfremoveRaisableErrorsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Removes all raisable errors of the given parts (usually child parts) from this part,raisableErrors.SelfremoveRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation)Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfremoveRaisableEscalation(BpmnRaisableEscalation escalation)Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfremoveRaisableEscalation(String escalationCode)Remove theescalation codeof an escalation that can be raised by the part, seeIStructuredBpmnModelPart.raisableEscalations().SelfremoveRaisableEscalationsFromParts(IStructuredBpmnModelPart... childParts)Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.SelfremoveRaisableEscalationsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Removes all raisable escalations of the given parts (usually child parts) from this part,raisableEscalations.SelfremoveRaisableEvent(de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?> event)Removes allevent definitionsof the given the event from the raisables.SelfremoveRaisableEventDefinitions(Iterable<? extends de.xima.bpmn_model.api.element.bpmn.events.EventDefinition<?>> eventDefinitions)Removes allevent definitionsfrom the raisables.SelfremoveRaisableEvents(Iterable<? extends de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?>> events)Removes allevent definitionsof the given the events from the raisables.SelfremoveRaisablesFromParts(IStructuredBpmnModelPart... childParts)Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.SelfremoveRaisablesFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Removes all raisable escalations, errors, and escalations of the given parts (usually child parts) from this part, seeraisableEscalations,raisableErrors, andraisableSignals.SelfremoveRaisableSignal(de.xima.bpmn_model.api.element.bpmn.events.Signal signal)Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfremoveRaisableSignal(BpmnRaisableSignal signal)Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfremoveRaisableSignal(String signalName)Remove thenameof a signal that can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().SelfremoveRaisableSignalsFromParts(IStructuredBpmnModelPart... childParts)Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.SelfremoveRaisableSignalsFromParts(Iterable<? extends IStructuredBpmnModelPart> childParts)Removes all raisable signals of the given parts (usually child parts) from this part,raisableSignals.
-
-
-
Method Detail
-
addRaisableError
@CanIgnoreReturnValue Self addRaisableError(BpmnRaisableError error)
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
@CanIgnoreReturnValue Self addRaisableError(String errorCode, BpmnRaisableData data)
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
@CanIgnoreReturnValue Self addRaisableErrorsFromParts(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.
-
addRaisableEscalation
@CanIgnoreReturnValue Self addRaisableEscalation(BpmnRaisableEscalation escalation)
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
@CanIgnoreReturnValue Self addRaisableEscalation(String escalationCode, BpmnRaisableData data)
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
@CanIgnoreReturnValue Self addRaisableEscalationsFromParts(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.
-
addRaisableSignal
@CanIgnoreReturnValue Self addRaisableSignal(BpmnRaisableSignal signal)
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
@CanIgnoreReturnValue Self addRaisableSignal(String signalName, BpmnRaisableData data)
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
@CanIgnoreReturnValue Self addRaisableSignalsFromParts(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.
-
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
@CanIgnoreReturnValue Self addRaisablesFromParts(IStructuredBpmnModelPart... childParts)
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
@CanIgnoreReturnValue Self raisableErrors(Iterable<BpmnRaisableError> errors)
Sets theerrorsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableErrors().- Returns:
- This builder, for chaining.
-
raisableEscalations
@CanIgnoreReturnValue Self raisableEscalations(Iterable<BpmnRaisableEscalation> escalations)
Sets theescalationsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Returns:
- This builder, for chaining.
-
raisableSignals
@CanIgnoreReturnValue Self raisableSignals(Iterable<BpmnRaisableSignal> signals)
Sets thesignalsthat can be raised by the part, seeIStructuredBpmnModelPart.raisableSignals().- Returns:
- This builder, for chaining.
-
removeRaisableError
@CanIgnoreReturnValue Self removeRaisableError(String errorCode)
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
@CanIgnoreReturnValue Self removeRaisableError(BpmnRaisableError 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.
-
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
@CanIgnoreReturnValue Self removeRaisableErrorsFromParts(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.
-
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
@CanIgnoreReturnValue Self removeRaisableEscalation(String escalationCode)
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
@CanIgnoreReturnValue Self removeRaisableEscalation(BpmnRaisableEscalation 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.
-
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
@CanIgnoreReturnValue Self removeRaisableEvents(Iterable<? extends de.xima.bpmn_model.api.behavior.EventDefinitionContaining<?>> events)
Removes allevent definitionsof the given the events from the raisables.- Parameters:
events- The events to remove.- Returns:
- This builder, for chaining.
-
removeRaisableSignal
@CanIgnoreReturnValue Self removeRaisableSignal(String signalName)
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
@CanIgnoreReturnValue Self removeRaisableSignal(BpmnRaisableSignal 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.
-
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
@CanIgnoreReturnValue Self removeRaisableSignalsFromParts(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.
-
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
@CanIgnoreReturnValue Self removeRaisablesFromParts(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.
-
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.
-
-