Package org.jrd.backend.data
Class VmInfo
- java.lang.Object
-
- org.jrd.backend.data.VmInfo
-
public class VmInfo extends Object
Stores information about Available Virtual Machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmInfo.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<File>getCp()VmInfo.TypegetType()VmDecompilerStatusgetVmDecompilerStatus()StringgetVmId()StringgetVmName()intgetVmPid()StringnameOrCp()voidremoveVmDecompilerStatus()voidreplaceVmDecompilerStatus(VmDecompilerStatus status)voidsetCp(List<File> cp)voidsetType(VmInfo.Type local)voidsetVmDecompilerStatus(VmDecompilerStatus vmDecompilerStatus)voidsetVmName(String vmName)voidsetVmPid(int vmPid)
-
-
-
Constructor Detail
-
VmInfo
public VmInfo(String vmId, int vmPid, String vmName, VmInfo.Type type, List<File> cp)
Stores information about Available Virtual Machine.- Parameters:
vmId- Unique ID for this VmInfovmPid- Virtual Machine process IDvmName- Name for the Virtual Machine. Hostname for remote VMstype- local, remote, type
-
-
Method Detail
-
getVmDecompilerStatus
public VmDecompilerStatus getVmDecompilerStatus()
-
setVmDecompilerStatus
public void setVmDecompilerStatus(VmDecompilerStatus vmDecompilerStatus)
-
removeVmDecompilerStatus
public void removeVmDecompilerStatus()
-
replaceVmDecompilerStatus
public void replaceVmDecompilerStatus(VmDecompilerStatus status)
-
getVmId
public String getVmId()
-
getVmPid
public int getVmPid()
-
setVmPid
public void setVmPid(int vmPid)
-
getVmName
public String getVmName()
-
setVmName
public void setVmName(String vmName)
-
getType
public VmInfo.Type getType()
-
setType
public void setType(VmInfo.Type local)
-
nameOrCp
public String nameOrCp()
-
-