public B escalation ( String escalationCode ) { EscalationEventDefinition escalationEventDefinition = createEscalationEventDefinition ( escalationCode ) ; element . getEventDefinitions ( ) . add ( escalationEventDefinition ) ; return myself ; }
Sets an escalation definition for the given escalation code . If already an escalation with this code exists it will be used otherwise a new escalation is created .