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 raisableEscalationin 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 givenEscalationand 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 intcompareTo(BpmnRaisableEscalation o)booleanequals(Object o)StringescalationCode()Gets the escalation code of the raisable escalation.inthashCode()-
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 givenEscalationand 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:
compareToin interfaceComparable<BpmnRaisableEscalation>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classBpmnRaisable
-
escalationCode
public String escalationCode()
Gets the escalation code of the raisable escalation.- Returns:
- The escalation code.
-
hashCode
public int hashCode()
- Specified by:
hashCodein classBpmnRaisable
-
-