org.optaplanner.examples.cheaptime.domain
Class Machine
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.cheaptime.domain.Machine
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class Machine
- extends AbstractPersistable
- See Also:
- Serialized Form
Machine
public Machine()
getIndex
public int getIndex()
setIndex
public void setIndex(int index)
getPowerConsumptionMicros
public long getPowerConsumptionMicros()
setPowerConsumptionMicros
public void setPowerConsumptionMicros(long powerConsumptionMicros)
getSpinUpDownCostMicros
public long getSpinUpDownCostMicros()
setSpinUpDownCostMicros
public void setSpinUpDownCostMicros(long spinUpDownCostMicros)
getMachineCapacityList
public List<MachineCapacity> getMachineCapacityList()
setMachineCapacityList
public void setMachineCapacityList(List<MachineCapacity> machineCapacityList)
getMachineCapacity
public MachineCapacity getMachineCapacity(Resource resource)
getLabel
public String getLabel()
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.