Returns a queue of all pipelines build so far and empties the pipeline
stack.

@return all build pipelines
509644
public AbsAxis getPipeline() {

        assert getPipeStack().size() <= 1;

        if (getPipeStack().size() == 1 && mExprStack.size() == 1) {
            return getPipeStack().pop().getExpr();
        } else {
            throw new IllegalStateException("Query was not build correctly.");
        }

    }
689899
@Override
    public List<com.enioka.jqm.api.Queue> getQueues()
    {
        List<com.enioka.jqm.api.Queue> res = new ArrayList<>();
        DbConn cnx = null;
        com.enioka.jqm.api.Queue tmp = null;

        try
        {
            cnx = getDbSession();
            for (Queue q : Queue.select(cnx, "q_select_all"))
            {
                tmp = getQueue(q);
                res.add(tmp);
            }
            return res;
        }
        catch (Exception e)
        {
            throw new JqmClientException("could not query queues", e);
        }
        finally
        {
            closeQuietly(cnx);
        }
    }
837481
public Iterator<R> iterator() {
        return new Iterator<R>() {
            R last = null;
            R next = newestBuild();

            public boolean hasNext() {
                return next!=null;
            }

            public R next() {
                last = next;
                if (last!=null)
                    next = last.getPreviousBuild();
                else
                    throw new NoSuchElementException();
                return last;
            }

            public void remove() {
                if (last==null)
                    throw new UnsupportedOperationException();
                removeValue(last);
            }
        };
    }
796311
public java.util.List<Stack> getStacks() {
        if (stacks == null) {
            stacks = new com.amazonaws.internal.SdkInternalList<Stack>();
        }
        return stacks;
    }
249711
public java.util.List<JobFlowDetail> getJobFlows() {
        if (jobFlows == null) {
            jobFlows = new com.amazonaws.internal.SdkInternalList<JobFlowDetail>();
        }
        return jobFlows;
    }
1363905
public static List<Pipe> getPipes() throws Exception {

        List<Pipe> pipes = newArrayList();

        pipes.add(new Jcas2TokenSequence());
        pipes.add(new Target2LabelSequence());

        // more piiiiipes
        addAllGoodPipes(pipes);

        pipes.add(new FeatureWindow(window, window));
        // for debugging pipes.add(new PrintInputAndTarget());
        pipes.add(new TokenSequence2FeatureVectorSequence());
        return pipes;
    }
325253
public List<E> toList()
    {
        ArrayList<E> list = new ArrayList<E>(queue.size());
        while (!queue.isEmpty())
        {
            list.add(0, queue.poll());
        }

        return list;
    }
1343666
public Iterator<?> downstreamProjects() {
        List<Run<?, ?>> downstreamList = new ArrayList<Run<?, ?>>();

        downstreamList.add(build);

        return downstreamList.iterator();
    }
691943
public java.util.List<PipelineObject> getPipelineObjects() {
        if (pipelineObjects == null) {
            pipelineObjects = new com.amazonaws.internal.SdkInternalList<PipelineObject>();
        }
        return pipelineObjects;
    }
980079
@Override
    public ExecutorService executorService() {
        InternalEventPipeline pipeline = currentPipeline.get();
        if (pipeline != null) {
            return pipeline.executorService();
        }
        return fallback.executorService();
    }
1120782
public java.util.List<FlowLog> getFlowLogs() {
        if (flowLogs == null) {
            flowLogs = new com.amazonaws.internal.SdkInternalList<FlowLog>();
        }
        return flowLogs;
    }
1078377
public java.util.List<RemediationExecutionStep> getStepDetails() {
        if (stepDetails == null) {
            stepDetails = new com.amazonaws.internal.SdkInternalList<RemediationExecutionStep>();
        }
        return stepDetails;
    }
73486
def pipelines(self):
        
        if self._pipeline_manager is None:
            self._pipeline_manager = PipelineManager(session=self._session)
        return self._pipeline_manager
1204007
public int getCompletedTasks() {
    int completedTasks = 0;
    for (TaskState taskState : this.taskStates.values()) {
      if (taskState.isCompleted()) {
        completedTasks++;
      }
    }

    return completedTasks;
  }
1104369
protected Queue<Object> getWorkQueue() {
        synchronized (this.queueLock) {
            // swap the primary and secondary queues
            Queue<Object> tmp = this.workQueue1;
            this.workQueue1 = this.workQueue2;
            this.workQueue2 = tmp;
            return tmp;
        } // end-sync
    }
1056030
def build(self) -> Application:
        '''
        '''

        pipelines = self._build_pipelines()
        self._factory.new('Application', pipelines)

        return self._factory['Application']
595032
public java.util.List<StackResource> getStackResources() {
        if (stackResources == null) {
            stackResources = new com.amazonaws.internal.SdkInternalList<StackResource>();
        }
        return stackResources;
    }