org.rundeck.api.domain.WorkflowState 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
The newest version!
package org.rundeck.api.domain;
import java.util.List;
import java.util.Set;
/**
* Represents the state of a workflow of steps
*/
public class WorkflowState extends BaseState {
private int stepCount;
private Set targetNodes;
private List steps;
/**
* Return the number of steps in this workflow
* @return
*/
public int getStepCount() {
return stepCount;
}
public void setStepCount(int stepCount) {
this.stepCount = stepCount;
}
/**
* Identify the target nodes of this workflow
* @return
*/
public Set getTargetNodes() {
return targetNodes;
}
public void setTargetNodes(Set targetNodes) {
this.targetNodes = targetNodes;
}
/**
* Return the list of steps for this workflow
* @return
*/
public List getSteps() {
return steps;
}
public void setSteps(List steps) {
this.steps = steps;
}
}