public class VMResponse
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
status |
static int |
STATUS_ERROR |
static int |
STATUS_OK |
Modifier | Constructor and Description |
---|---|
protected |
VMResponse() |
protected |
VMResponse(int status) |
Modifier and Type | Method and Description |
---|---|
static VMResponse |
createERROR() |
static VMResponse |
createOK() |
boolean |
isOK() |
static java.lang.String |
toStatusString(int status) |
java.lang.String |
toString() |
public static final int STATUS_OK
public static final int STATUS_ERROR
public final int status
@NonNull public static VMResponse createERROR()
@NonNull public static VMResponse createOK()
@NonNull public static java.lang.String toStatusString(int status)
public boolean isOK()
public java.lang.String toString()
toString
in class java.lang.Object