All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rundeck.api.domain.WorkflowStepState Maven / Gradle / Ivy

There is a newer version: 13.2
Show newest version
package org.rundeck.api.domain;

import java.util.Map;

/**
 * Represents the state of a step in a workflow
 */
public class WorkflowStepState extends WorkflowStepContextState {
    private boolean nodeStep;
    private WorkflowState subWorkflow;
    private Map nodeStates;

    /**
     * Return true if this step runs on each target node
     * @return
     */
    public boolean isNodeStep() {
        return nodeStep;
    }

    public void setNodeStep(boolean nodeStep) {
        this.nodeStep = nodeStep;
    }

    /**
     * Return sub workflow if this step has one
     * @return
     */
    public WorkflowState getSubWorkflow() {
        return subWorkflow;
    }

    public void setSubWorkflow(WorkflowState subWorkflow) {
        this.subWorkflow = subWorkflow;
    }

    /**
     * Return the state of each target node if this step runs on each target node
     * @return
     */
    public Map getNodeStates() {
        return nodeStates;
    }

    public void setNodeStates(Map nodeStates) {
        this.nodeStates = nodeStates;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy