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

src.main.java.com.vincomobile.fw.basic.process.ProcessMessage Maven / Gradle / Ivy

There is a newer version: 5.1.0-RELEASE
Show newest version
package com.vincomobile.fw.basic.process;

import java.util.Date;

public class ProcessMessage {

    public static final String TYPE_START_EXEC      = "START_EXEC";
    public static final String TYPE_FINISH_SUCCESS  = "FINISH_SUCCESS";
    public static final String TYPE_FINISH_ERROR    = "FINISH_ERROR";
    public static final String TYPE_LOG             = "LOG";
    public static final String TYPE_OUTPUT          = "OUTPUT";

    String idProcess;
    String idProcessExec;
    String idClient;
    String idModule;
    String idUser;
    String eventType;
    String logType;
    Date date;
    String info;

    public ProcessMessage() {
    }

    public ProcessMessage(String idProcess, String idProcessExec, String idClient, String idModule, String idUser, String eventType, String logType, String info) {
        this.idProcess = idProcess;
        this.idProcessExec = idProcessExec;
        this.idClient = idClient;
        this.idModule = idModule;
        this.idUser = idUser;
        this.date = new Date();
        this.eventType = eventType;
        this.logType = logType;
        this.info = info;
    }

    public String getIdProcess() {
        return idProcess;
    }

    public void setIdProcess(String idProcess) {
        this.idProcess = idProcess;
    }

    public String getIdProcessExec() {
        return idProcessExec;
    }

    public void setIdProcessExec(String idProcessExec) {
        this.idProcessExec = idProcessExec;
    }

    public String getIdClient() {
        return idClient;
    }

    public void setIdClient(String idClient) {
        this.idClient = idClient;
    }

    public String getIdModule() {
        return idModule;
    }

    public void setIdModule(String idModule) {
        this.idModule = idModule;
    }

    public String getIdUser() {
        return idUser;
    }

    public void setIdUser(String idUser) {
        this.idUser = idUser;
    }

    public String getEventType() {
        return eventType;
    }

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

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getLogType() {
        return logType;
    }

    public void setLogType(String logType) {
        this.logType = logType;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy