Package com.veertu.ankaMgmtSdk
Class AnkaVmInstance
- java.lang.Object
-
- com.veertu.ankaMgmtSdk.AnkaVMRepresentation
-
- com.veertu.ankaMgmtSdk.AnkaVmInstance
-
public class AnkaVmInstance extends AnkaVMRepresentation
Created by asafgur on 17/05/2017.
-
-
Field Summary
-
Fields inherited from class com.veertu.ankaMgmtSdk.AnkaVMRepresentation
id, name
-
-
Constructor Summary
Constructors Constructor Description AnkaVmInstance(String id, org.json.JSONObject jsonObject)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class com.veertu.ankaMgmtSdk.AnkaVMRepresentation
getId, getName
-
-
-
-
Constructor Detail
-
AnkaVmInstance
public AnkaVmInstance(String id, org.json.JSONObject jsonObject)
-
-
Method Detail
-
makeAnkaVmSessionFromJson
public static AnkaVmInstance makeAnkaVmSessionFromJson(org.json.JSONObject jsonObject)
-
getSessionState
public String getSessionState()
-
getVmId
public String getVmId()
-
getVmInfo
public AnkaVmInfo getVmInfo()
-
getMessage
public String getMessage()
-
isTerminatingOrTerminated
public boolean isTerminatingOrTerminated()
-
isStarted
public boolean isStarted()
-
isPulling
public boolean isPulling()
-
isSchedulingOrPulling
public boolean isSchedulingOrPulling()
-
isScheduling
public boolean isScheduling()
-
isInError
public boolean isInError()
-
isPushing
public boolean isPushing()
-
-