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

org.hisp.dhis.response.job.JobNotification Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.hisp.dhis.response.job;

import java.util.Date;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import org.hisp.dhis.response.NotificationLevel;

import com.fasterxml.jackson.annotation.JsonProperty;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class JobNotification
{
    @JsonProperty
    private String uid;

    @JsonProperty
    private NotificationLevel level;

    @JsonProperty
    private JobCategory category;

    @JsonProperty
    private Date time;

    @JsonProperty
    private String message;

    @JsonProperty
    private boolean completed;

    public JobNotification( String uid, NotificationLevel level, JobCategory category, String message )
    {
        this.uid = uid;
        this.level = level;
        this.category = category;
        this.message = message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy