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 Details

    • MachinePower

      public MachinePower(PowerState power)
      Make an instance.
      Parameters:
      power - the machine power state
  • Method Details

    • getPower

      public PowerState getPower()
      Returns:
      the machine power state