Package de.xima.fc.common.workflow.bpmn
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 raisableEscalation
in astructured BPMN model part
, see alsoraisableEscalations
.Each escalation is identified by its
Escalation.escalationCode()
escalationCode}, but may have additional data such as a display name or details, seedata
.- Since:
- 8.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BpmnRaisableEscalation(de.xima.bpmn_model.api.element.bpmn.common.Escalation escalation, BpmnRaisableData data)
Creates a new raisable escalation from the givenEscalation
and data.BpmnRaisableEscalation(String escalationCode, BpmnRaisableData data)
Creates a new raisable escalation with the given escalation code and data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BpmnRaisableEscalation o)
boolean
equals(Object o)
String
escalationCode()
Gets the escalation code of the raisable escalation.int
hashCode()
-
Methods inherited from class de.xima.fc.common.workflow.bpmn.BpmnRaisable
data
-
-
-
-
Constructor Detail
-
BpmnRaisableEscalation
public BpmnRaisableEscalation(String escalationCode, BpmnRaisableData data)
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 givenEscalation
and data.- Parameters:
escalation
- An escalation with an escalation code.data
- The data for the raisable, such as its display name and details.
-
-
Method Detail
-
compareTo
public int compareTo(BpmnRaisableEscalation o)
- Specified by:
compareTo
in interfaceComparable<BpmnRaisableEscalation>
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classBpmnRaisable
-
escalationCode
public String escalationCode()
Gets the escalation code of the raisable escalation.- Returns:
- The escalation code.
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classBpmnRaisable
-
-