Package org.jrd.backend.data
Class VmInfo
- java.lang.Object
-
- org.jrd.backend.data.VmInfo
-
public class VmInfo extends java.lang.ObjectStores information about Available Virtual Machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmInfo.Type
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.io.File>cpprivate VmInfo.Typetypeprivate VmDecompilerStatusvmDecompilerStatusprivate java.lang.StringvmIdprivate java.lang.StringvmNameprivate intvmPid
-
Constructor Summary
Constructors Constructor Description VmInfo(java.lang.String vmId, int vmPid, java.lang.String vmName, VmInfo.Type type, java.util.List<java.io.File> cp)Stores information about Available Virtual Machine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.io.File>getCp()VmInfo.TypegetType()VmDecompilerStatusgetVmDecompilerStatus()java.lang.StringgetVmId()java.lang.StringgetVmName()intgetVmPid()java.lang.StringnameOrCp()voidremoveVmDecompilerStatus()voidreplaceVmDecompilerStatus(VmDecompilerStatus status)voidsetCp(java.util.List<java.io.File> cp)voidsetType(VmInfo.Type local)voidsetVmDecompilerStatus(VmDecompilerStatus vmDecompilerStatus)private voidsetVmId(java.lang.String vmId)voidsetVmName(java.lang.String vmName)voidsetVmPid(int vmPid)
-
-
-
Field Detail
-
vmDecompilerStatus
private VmDecompilerStatus vmDecompilerStatus
-
vmId
private java.lang.String vmId
-
vmPid
private int vmPid
-
vmName
private java.lang.String vmName
-
type
private VmInfo.Type type
-
cp
private java.util.List<java.io.File> cp
-
-
Constructor Detail
-
VmInfo
public VmInfo(java.lang.String vmId, int vmPid, java.lang.String vmName, VmInfo.Type type, java.util.List<java.io.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 java.lang.String getVmId()
-
setVmId
private void setVmId(java.lang.String vmId)
-
getVmPid
public int getVmPid()
-
setVmPid
public void setVmPid(int vmPid)
-
getVmName
public java.lang.String getVmName()
-
setVmName
public void setVmName(java.lang.String vmName)
-
getType
public VmInfo.Type getType()
-
setType
public void setType(VmInfo.Type local)
-
setCp
public void setCp(java.util.List<java.io.File> cp)
-
getCp
public java.util.List<java.io.File> getCp()
-
nameOrCp
public java.lang.String nameOrCp()
-
-