org.drools.planner.examples.cloudbalancing.domain
Class CloudProcess
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.cloudbalancing.domain.CloudProcess
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class CloudProcess
- extends AbstractPersistable
- See Also:
- Serialized Form
CloudProcess
public CloudProcess()
getRequiredCpuPower
public int getRequiredCpuPower()
setRequiredCpuPower
public void setRequiredCpuPower(int requiredCpuPower)
getRequiredMemory
public int getRequiredMemory()
setRequiredMemory
public void setRequiredMemory(int requiredMemory)
getRequiredNetworkBandwidth
public int getRequiredNetworkBandwidth()
setRequiredNetworkBandwidth
public void setRequiredNetworkBandwidth(int requiredNetworkBandwidth)
getCloudComputer
public CloudComputer getCloudComputer()
setCloudComputer
public void setCloudComputer(CloudComputer cloudComputer)
getRequiredMultiplicand
public int getRequiredMultiplicand()
getLabel
public String getLabel()
clone
public CloudProcess clone()
- Overrides:
clone in class Object
solutionEquals
public boolean solutionEquals(Object o)
- The normal methods
Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already
requires them (for performance in their original state).
- See Also:
solutionHashCode()
solutionHashCode
public int solutionHashCode()
- The normal methods
Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already
requires them (for performance in their original state).
- See Also:
solutionEquals(Object)
toString
public String toString()
- Overrides:
toString in class AbstractPersistable
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.