OptaPlanner distribution 6.0.0.Final

org.optaplanner.examples.machinereassignment.solver.drools
Class MrServiceMovedProcessesCount

java.lang.Object
  extended by org.optaplanner.examples.machinereassignment.solver.drools.MrServiceMovedProcessesCount
All Implemented Interfaces:
Serializable, Comparable<MrServiceMovedProcessesCount>

public class MrServiceMovedProcessesCount
extends Object
implements Serializable, Comparable<MrServiceMovedProcessesCount>

See Also:
Serialized Form

Constructor Summary
MrServiceMovedProcessesCount(MrService service, int movedProcessesCount)
           
 
Method Summary
 int compareTo(MrServiceMovedProcessesCount other)
          Used by the GUI to sort the ConstraintMatch list by ConstraintMatch.getJustificationList().
 boolean equals(Object o)
           
 int getMovedProcessesCount()
           
 MrService getService()
           
 Long getServiceId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MrServiceMovedProcessesCount

public MrServiceMovedProcessesCount(MrService service,
                                    int movedProcessesCount)
Method Detail

getService

public MrService getService()

getMovedProcessesCount

public int getMovedProcessesCount()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(MrServiceMovedProcessesCount other)
Used by the GUI to sort the ConstraintMatch list by ConstraintMatch.getJustificationList().

Specified by:
compareTo in interface Comparable<MrServiceMovedProcessesCount>
Parameters:
other - never null
Returns:
comparison

getServiceId

public Long getServiceId()

toString

public String toString()
Overrides:
toString in class Object

OptaPlanner distribution 6.0.0.Final

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.