Package org.jenkinsci.plugins.workflow.graph

Examples of org.jenkinsci.plugins.workflow.graph.FlowStartNode


        final FlowHead h = new FlowHead(this);
        synchronized (this) {
            heads.put(h.getId(), h);
        }
        h.newStartNode(new FlowStartNode(this, iotaStr()));

        final CpsThreadGroup g = new CpsThreadGroup(this);
        final SettableFuture<CpsThreadGroup> f = SettableFuture.create();
        g.runner.submit(new Runnable() {
            @Override
View Full Code Here


        if (head==null) {
            // something went catastrophically wrong and there's no live head. fake one
            head = new FlowHead(this);
            try {
                head.newStartNode(new FlowStartNode(this, iotaStr()));
            } catch (IOException e) {
                LOGGER.log(Level.FINE, "Failed to persist", e);
            }
        }
View Full Code Here

            listener.onNewHead(node);
        }
    }

    @Override public void start() throws IOException {
        FlowStartNode start = new FlowStartNode(this, newID());
        heads.put(MAIN, start.getId());
        addingHead(start);
        // TODO factor this out into a general thread start function:
        BlockStartNode blockStart = new BlockStartNode(this, newID(), start) {
            @Override protected String getTypeDisplayName() {
                return "Thread start";
View Full Code Here

TOP

Related Classes of org.jenkinsci.plugins.workflow.graph.FlowStartNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.