package de.ivu.elect.business.exchange.entity;

import java.io.Serializable;

public class ExchangeQueueJob implements Serializable {

  private final String user;

  private final ExchangeQueueType queueType;

  private final ExchangeQueueJobWeight jobWeight;

  private final ExchangeQueueJobPriority jobPriority;

   ExchangeQueueJob(String user, ExchangeQueueType queueType, ExchangeQueueJobWeight jobWeight,ExchangeQueueJobPriority jobPriority) {
    this.user = user;
    this.queueType = queueType;
    this.jobWeight = jobWeight;
     this.jobPriority = jobPriority;
   }

  public String getUser() {
    return user;
  }

  public ExchangeQueueType getQueueType() {
    return queueType;
  }

  public ExchangeQueueJobWeight getJobWeight() {
    return jobWeight;
  }

  public ExchangeQueueJobPriority getJobPriority() {
    return jobPriority;
  }
}
