fi.evolver.basics.spring.messaging.model.PendingMessageDetails Maven / Gradle / Ivy
package fi.evolver.basics.spring.messaging.model;
import fi.evolver.basics.spring.messaging.entity.Message.MessageState;
public class PendingMessageDetails {
private final long id;
private final MessageState state;
private final long lastUpdatedTime;
private final long messageChainId;
private final boolean okToHandle;
public PendingMessageDetails(long id, MessageState state, long lastUpdatedTime, long messageChainId, boolean okToHandle) {
this.id = id;
this.state = state;
this.lastUpdatedTime = lastUpdatedTime;
this.messageChainId = messageChainId;
this.okToHandle = okToHandle;
}
public long getId() {
return id;
}
public MessageState getState() {
return state;
}
public long getLastUpdatedTime() {
return lastUpdatedTime;
}
public long getMessageChainId() {
return messageChainId;
}
public boolean isOkToHandle() {
return okToHandle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy