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

org.ikasan.designer.model.UserData Maven / Gradle / Ivy

package org.ikasan.designer.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class UserData {
    public static final String INTERNAL_EVENT_DRIVEN_JOB = "INTERNAL_EVENT_DRIVEN_JOB";
    public static final String QUARTZ_EVENT_DRIVEN_JOB = "QUARTZ_EVENT_DRIVEN_JOB";
    public static final String FILE_EVENT_DRIVEN_JOB = "FILE_EVENT_DRIVEN_JOB";
    public static final String GLOBAL_EVENT_DRIVEN_JOB = "GLOBAL_EVENT_DRIVEN_JOB";
    public static final String CONTEXT_START_JOB = "CONTEXT_START_JOB";
    public static final String CONTEXT_TERMINAL_JOB = "CONTEXT_TERMINAL_JOB";
    public static final String LOCAL_EVENT_JOB = "LOCAL_EVENT_JOB";
    public static final String CONTEXT = "CONTEXT";
    public static final String REPEATABLE = "REPEATABLE";

    private String jobName;
    private String agentName;
    private String identifier;
    private String contextName;
    private String itemType;
    private List previousJobIdentifiers;
    private List subsequentJobIdentifiers;

    /**
     * Constructor
     *
     * @param jobName
     * @param agentName
     * @param identifier
     * @param contextName
     * @param itemType
     */
    public UserData(@JsonProperty("jobName") String jobName, @JsonProperty("agentName") String agentName, @JsonProperty("identifier") String identifier,
        @JsonProperty("contextName") String contextName, @JsonProperty("itemType") String itemType,
        @JsonProperty("previousJobIdentifiers") List previousJobIdentifiers, @JsonProperty("subsequentJobIdentifiers") List subsequentJobIdentifiers) {
        this.jobName = jobName;
        this.agentName = agentName;
        this.identifier = identifier;
        this.contextName = contextName;
        this.itemType = itemType;
        this.previousJobIdentifiers = previousJobIdentifiers;
        this.subsequentJobIdentifiers = subsequentJobIdentifiers;
    }

    public String getJobName() {
        return jobName;
    }

    public String getAgentName() {
        return agentName;
    }

    public String getIdentifier() {
        return identifier;
    }

    public String getContextName() {
        return contextName;
    }

    public String getItemType() {
        return itemType;
    }

    public List getPreviousJobIdentifiers() {
        return previousJobIdentifiers;
    }

    public void setPreviousJobIdentifiers(List previousJobIdentifiers) {
        this.previousJobIdentifiers = previousJobIdentifiers;
    }

    public List getSubsequentJobIdentifiers() {
        return subsequentJobIdentifiers;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy