Search in sources :

Example 1 with EscalationImpl

use of org.jbpm.services.task.impl.model.EscalationImpl in project jbpm by kiegroup.

the class CollectionUtils method readEscalationList.

public static List<Escalation> readEscalationList(ObjectInput in) throws IOException, ClassNotFoundException {
    int size = in.readInt();
    List<Escalation> list = new ArrayList<Escalation>(size);
    for (int i = 0; i < size; i++) {
        Escalation item = new EscalationImpl();
        item.readExternal(in);
        list.add(item);
    }
    return list;
}
Also used : Escalation(org.kie.internal.task.api.model.Escalation) ArrayList(java.util.ArrayList) EscalationImpl(org.jbpm.services.task.impl.model.EscalationImpl)

Aggregations

ArrayList (java.util.ArrayList)1 EscalationImpl (org.jbpm.services.task.impl.model.EscalationImpl)1 Escalation (org.kie.internal.task.api.model.Escalation)1