Class BpmnRaisableEscalation
java.lang.Object
de.xima.fc.common.workflow.bpmn.BpmnRaisable
de.xima.fc.common.workflow.bpmn.BpmnRaisableEscalation
- All Implemented Interfaces:
Serializable, Comparable<BpmnRaisableEscalation>
public final class BpmnRaisableEscalation
extends BpmnRaisable
implements Comparable<BpmnRaisableEscalation>
Models a raisable
Escalation in a structured BPMN model part, see also
raisableEscalations.
Each escalation is identified by its Escalation.escalationCode() escalationCode}, but may have additional
data such as a display name or details, see data.
- Since:
- 8.4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBpmnRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data) Creates a new raisable escalation from the givenEscalationand data.BpmnRaisableEscalation(String escalationCode, BpmnRaisableData data) Creates a new raisable escalation with the given escalation code and data. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGets the escalation code of the raisable escalation.inthashCode()Methods inherited from class BpmnRaisable
data
-
Constructor Details
-
BpmnRaisableEscalation
Creates a new raisable escalation with the given escalation code and data.- Parameters:
escalationCode- The escalation code of the escalation.data- The data for the raisable, such as its display name and details.
-
BpmnRaisableEscalation
public BpmnRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data) Creates a new raisable escalation from the givenEscalationand data.- Parameters:
escalation- An escalation with an escalation code.data- The data for the raisable, such as its display name and details.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<BpmnRaisableEscalation>
-
equals
- Specified by:
equalsin classBpmnRaisable
-
escalationCode
Gets the escalation code of the raisable escalation.- Returns:
- The escalation code.
-
hashCode
public int hashCode()- Specified by:
hashCodein classBpmnRaisable
-