Package org.jrd.backend.data
Class VmInfo
- java.lang.Object
-
- org.jrd.backend.data.VmInfo
-
public class VmInfo extends java.lang.Object
Stores information about Available Virtual Machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VmInfo.Type
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.io.File>
cp
private VmInfo.Type
type
private VmDecompilerStatus
vmDecompilerStatus
private java.lang.String
vmId
private java.lang.String
vmName
private int
vmPid
-
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.Type
getType()
VmDecompilerStatus
getVmDecompilerStatus()
java.lang.String
getVmId()
java.lang.String
getVmName()
int
getVmPid()
java.lang.String
nameOrCp()
void
removeVmDecompilerStatus()
void
replaceVmDecompilerStatus(VmDecompilerStatus status)
void
setCp(java.util.List<java.io.File> cp)
void
setType(VmInfo.Type local)
void
setVmDecompilerStatus(VmDecompilerStatus vmDecompilerStatus)
private void
setVmId(java.lang.String vmId)
void
setVmName(java.lang.String vmName)
void
setVmPid(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()
-
-