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

com.transferwise.tasks.domain.BaseTask Maven / Gradle / Ivy

The newest version!
package com.transferwise.tasks.domain;

import java.util.UUID;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class BaseTask implements IBaseTask {

  private UUID id;
  private String type;
  private long version;
  private int priority;

  public ITaskVersionId getVersionId() {
    return new TaskVersionId(id, version);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy