public class DrainNotification
extends java.lang.Object
Constructor and Description |
---|
DrainNotification(java.util.UUID uuid,
java.lang.String runId,
DrainMode drainMode) |
Modifier and Type | Method and Description |
---|---|
static DrainNotification |
create(java.util.UUID uuid,
java.lang.String runId)
Creates a DrainNotification in
DrainMode.DEFAULT mode. |
boolean |
equals(java.lang.Object o) |
DrainMode |
getDrainMode() |
java.lang.String |
getRunId() |
java.util.UUID |
getUuid() |
int |
hashCode() |
java.lang.String |
toString() |
public DrainNotification(java.util.UUID uuid, java.lang.String runId, DrainMode drainMode)
public static DrainNotification create(java.util.UUID uuid, java.lang.String runId)
DrainMode.DEFAULT
mode.public java.util.UUID getUuid()
public java.lang.String getRunId()
public DrainMode getDrainMode()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object