ConfigEntry.java 2.72 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.day.cq.workflow.launcher;

import java.util.List;

public class ConfigEntry {
    private String nodetype;
    private String whereClause;
    private int eventType;
    private String glob;
    private String workflow;
    private String id;
    private String description;
    private boolean enabled;
    private List<String> excludeList;
    private List<String> runModes;

    public ConfigEntry(int eventType, String glob, String nodetype, String whereClause, String workflow, String id, String description, boolean enabled, List<String> excludeList, List<String> runModes) {
        this.eventType = eventType;
        this.glob = glob;
        this.nodetype = nodetype;
        this.whereClause = whereClause;
        this.workflow = workflow;
        this.id = id;
        this.description = description;
        this.enabled = enabled;
        this.excludeList = excludeList;
        this.runModes = runModes;
    }

    public String getWorkflow() {
        return this.workflow;
    }

    public void setWorkflow(String actionClassScript) {
        this.workflow = actionClassScript;
    }

    public int getEventType() {
        return this.eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public String getGlob() {
        return this.glob;
    }

    public void setGlob(String glob) {
        this.glob = glob;
    }

    public String getNodetype() {
        return this.nodetype;
    }

    public void setNodetype(String nodetype) {
        this.nodetype = nodetype;
    }

    public String getWhereClause() {
        return this.whereClause;
    }

    public void setWhereClause(String whereClause) {
        this.whereClause = whereClause;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int hashCode() {
        String code = String.valueOf(this.eventType) + this.nodetype + this.whereClause + this.glob + this.workflow;
        return code.hashCode();
    }

    public boolean isEnabled() {
        return this.enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public List<String> getExcludeList() {
        return this.excludeList;
    }

    public void setExcludeList(List<String> excludeList) {
        this.excludeList = excludeList;
    }

    public List<String> getRunModes() {
        return this.runModes;
    }

    public void setRunModes(List<String> runModes) {
        this.runModes = runModes;
    }
}