public class ContainerPlacementResponseMessage extends ContainerPlacementMessage
ContainerPlacementMessage.StatusCode
deploymentId, destinationHost, processorId, requestExpiry, statusCode, timestamp, uuid
Constructor and Description |
---|
ContainerPlacementResponseMessage(java.util.UUID uuid,
java.lang.String deploymentId,
java.lang.String processorId,
java.lang.String destinationHost,
ContainerPlacementMessage.StatusCode statusCode,
java.lang.String responseMessage,
long timestamp) |
ContainerPlacementResponseMessage(java.util.UUID uuid,
java.lang.String deploymentId,
java.lang.String processorId,
java.lang.String destinationHost,
java.time.Duration requestExpiry,
ContainerPlacementMessage.StatusCode statusCode,
java.lang.String responseMessage,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static ContainerPlacementResponseMessage |
fromContainerPlacementRequestMessage(ContainerPlacementRequestMessage requestMessage,
ContainerPlacementMessage.StatusCode statusCode,
java.lang.String responseMessage,
long timestamp)
Creates a
ContainerPlacementResponseMessage using ContainerPlacementRequestMessage
status of current request and response associated with status |
java.lang.String |
getResponseMessage() |
int |
hashCode() |
java.lang.String |
toString() |
getDeploymentId, getDestinationHost, getProcessorId, getRequestExpiry, getStatusCode, getTimestamp, getUuid
public ContainerPlacementResponseMessage(java.util.UUID uuid, java.lang.String deploymentId, java.lang.String processorId, java.lang.String destinationHost, java.time.Duration requestExpiry, ContainerPlacementMessage.StatusCode statusCode, java.lang.String responseMessage, long timestamp)
public ContainerPlacementResponseMessage(java.util.UUID uuid, java.lang.String deploymentId, java.lang.String processorId, java.lang.String destinationHost, ContainerPlacementMessage.StatusCode statusCode, java.lang.String responseMessage, long timestamp)
public static ContainerPlacementResponseMessage fromContainerPlacementRequestMessage(ContainerPlacementRequestMessage requestMessage, ContainerPlacementMessage.StatusCode statusCode, java.lang.String responseMessage, long timestamp)
ContainerPlacementResponseMessage
using ContainerPlacementRequestMessage
status of current request and response associated with statuspublic java.lang.String getResponseMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class ContainerPlacementMessage
public int hashCode()
hashCode
in class ContainerPlacementMessage