
org.rundeck.api.domain.WorkflowStepState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rundeck-api-java-client Show documentation
Show all versions of rundeck-api-java-client Show documentation
Java client for the Rundeck REST API
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