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

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

The newest version!
package org.rundeck.api.domain;

import java.util.Date;

/**
 * Base execution status for a step
 */
public class BaseState {
    private Date startTime;
    private Date endTime;
    private Date updateTime;
    private RundeckWFExecState executionState;

    /**
     * Time that the execution of this step started
     * @return
     */
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * Time that the execution of this step finished, or null if it has not completed
     * @return
     */
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * Current state of the execution
     * @return
     */
    public RundeckWFExecState getExecutionState() {
        return executionState;
    }

    public void setExecutionState(RundeckWFExecState executionState) {
        this.executionState = executionState;
    }

    /**
     * Time that this state was last updated
     * @return
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy