Search in sources :

Example 1 with DeadlineImpl

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

the class CollectionUtils method readDeadlinesList.

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

Aggregations

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