com.transferwise.tasks.domain.BaseTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-tasks-core Show documentation
Show all versions of tw-tasks-core Show documentation
Transferwise Tasks Executor - Fire and forget until Alert.
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);
}
}