class WorkflowList extends AbstractCollection<Workflow> implements ComponentLifecycle, ComponentLifecycleExtension, List<Workflow> {

  @Override
  public boolean add(Workflow element) {
    if (element == null) {
      throw new IllegalArgumentException("Null workflow element");
    }
    return workflows.add(register(element));
  }

  public  WorkflowList();
  public  WorkflowList(Collection<Workflow> workflows);

}