public class MrMachineTransientUsage extends Object implements Serializable, Comparable<MrMachineTransientUsage>
Constructor and Description |
---|
MrMachineTransientUsage(MrMachineCapacity machineCapacity,
long usage) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MrMachineTransientUsage other)
Used by the GUI to sort the
ConstraintMatch list
by ConstraintMatch.getJustificationList() . |
boolean |
equals(Object o) |
MrMachine |
getMachine() |
MrMachineCapacity |
getMachineCapacity() |
MrResource |
getResource() |
long |
getUsage() |
int |
hashCode() |
String |
toString() |
public MrMachineTransientUsage(MrMachineCapacity machineCapacity, long usage)
public MrMachineCapacity getMachineCapacity()
public long getUsage()
public int compareTo(MrMachineTransientUsage other)
ConstraintMatch
list
by ConstraintMatch.getJustificationList()
.compareTo
in interface Comparable<MrMachineTransientUsage>
other
- never nullpublic MrMachine getMachine()
public MrResource getResource()
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.