Class MachinePower
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.MachinePower
@Immutable public class MachinePower extends Object
Describes the current state of power of the machine (or at least the portion
of it allocated to a job), or a state that the user wants us to switch into.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors Constructor Description MachinePower(PowerState power)
Make an instance. -
Method Summary
Modifier and Type Method Description PowerState
getPower()
-
Constructor Details
-
MachinePower
Make an instance.- Parameters:
power
- the machine power state
-
-
Method Details
-
getPower
- Returns:
- the machine power state
-