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 class
VmInfo.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<File>
getCp()
VmInfo.Type
getType()
VmDecompilerStatus
getVmDecompilerStatus()
String
getVmId()
String
getVmName()
int
getVmPid()
String
nameOrCp()
void
removeVmDecompilerStatus()
void
replaceVmDecompilerStatus(VmDecompilerStatus status)
void
setCp(List<File> cp)
void
setType(VmInfo.Type local)
void
setVmDecompilerStatus(VmDecompilerStatus vmDecompilerStatus)
void
setVmName(String vmName)
void
setVmPid(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()
-
-