Interface VirtualMachine
- All Superinterfaces:
Comparable<String>,net.solarnetwork.dao.Entity<String>,net.solarnetwork.domain.Identity<String>
- All Known Implementing Classes:
Ec2VirtualMachine
A virtual machine.
-
Method Summary
Modifier and TypeMethodDescriptionGet a name for this machine.getState()Get the state of this machine.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.dao.Entity
getCreatedMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Method Details
-
getDisplayName
String getDisplayName()Get a name for this machine.- Returns:
- a name
-
getState
VirtualMachineState getState()Get the state of this machine.This value might be a cached, last known value. Use
VirtualMachineBizto read the current state.- Returns:
- the state
-