public class AnkaVmInstance extends AnkaVMRepresentation
id, name
Constructor and Description |
---|
AnkaVmInstance(String id,
org.json.JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
getSessionState() |
String |
getVmId() |
AnkaVmInfo |
getVmInfo() |
boolean |
isInError() |
boolean |
isPulling() |
boolean |
isPushing() |
boolean |
isScheduling() |
boolean |
isSchedulingOrPulling() |
boolean |
isStarted() |
boolean |
isTerminatingOrTerminated() |
static AnkaVmInstance |
makeAnkaVmSessionFromJson(org.json.JSONObject jsonObject) |
getId, getName
public AnkaVmInstance(String id, org.json.JSONObject jsonObject)
public static AnkaVmInstance makeAnkaVmSessionFromJson(org.json.JSONObject jsonObject)
public String getSessionState()
public String getVmId()
public AnkaVmInfo getVmInfo()
public String getMessage()
public boolean isTerminatingOrTerminated()
public boolean isStarted()
public boolean isPulling()
public boolean isSchedulingOrPulling()
public boolean isScheduling()
public boolean isInError()
public boolean isPushing()
Copyright © 2016–2020. All rights reserved.