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

io.elastic.sailor.ContainerContext Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package io.elastic.sailor;

import com.google.inject.Inject;
import com.google.inject.name.Named;

public class ContainerContext {

    private String flowId;
    private String stepId;
    private String execId;
    private String userId;
    private String compId;
    private String function;
    private boolean isStartupRequired;

    public String getFlowId() {
        return flowId;
    }

    @Inject
    public void setFlowId(@Named(Constants.ENV_VAR_FLOW_ID) String flowId) {
        this.flowId = flowId;
    }

    public String getStepId() {
        return stepId;
    }

    @Inject
    public void setStepId(@Named(Constants.ENV_VAR_STEP_ID) String stepId) {
        this.stepId = stepId;
    }

    public String getExecId() {
        return execId;
    }

    @Inject
    public void setExecId(@Named(Constants.ENV_VAR_EXEC_ID) String execId) {
        this.execId = execId;
    }

    public String getUserId() {
        return userId;
    }

    @Inject
    public void setUserId(@Named(Constants.ENV_VAR_USER_ID) String userId) {
        this.userId = userId;
    }

    public String getCompId() {
        return compId;
    }

    @Inject
    public void setCompId(@Named(Constants.ENV_VAR_COMP_ID) String compId) {
        this.compId = compId;
    }

    public String getFunction() {
        return function;
    }

    @Inject
    public void setFunction(@Named(Constants.ENV_VAR_FUNCTION) String function) {
        this.function = function;
    }

    public boolean isStartupRequired() {
        return isStartupRequired;
    }

    @Inject
    public void setStartupRequired(@Named(Constants.ENV_VAR_STARTUP_REQUIRED)  boolean startupRequired) {
        isStartupRequired = startupRequired;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy