package com.dtolabs.rundeck.core.execution.workflow.state;

/**
 * $INTERFACE is ... User: greg Date: 10/15/13 Time: 2:52 PM
 */
public enum ExecutionState {
    WAITING,
    RUNNING,
    SUCCEEDED,
    FAILED,
    ABORTED;

    public boolean isCompletedState() {
        return this == ExecutionState.ABORTED || this == ExecutionState.SUCCEEDED || this == ExecutionState.FAILED;
    }
}

package com.dtolabs.rundeck.core.execution.workflow.state;

/**
 * $INTERFACE is ... User: greg Date: 10/15/13 Time: 2:52 PM
 */
public enum ExecutionState {
    WAITING,
    RUNNING,
    SUCCEEDED,
    FAILED,
    ABORTED,
    //node step intermediate states
    NODE_PARTIAL_SUCCEEDED,
    NODE_MIXED,
    ;

    public boolean isCompletedState() {
        return this == ExecutionState.ABORTED || this == ExecutionState.SUCCEEDED || this == ExecutionState.FAILED;
    }
}

Add partial/mixed exectuion states