public class HardRequestValue
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
HardRequestValue(java.lang.String resource,
java.lang.String value,
double uc)
Create an new instanceof a HardRequestValue
|
Modifier and Type | Method and Description |
---|---|
double |
getContribution()
Get the urgency contribution of the resource
|
java.lang.String |
getResource()
Get the resource
|
java.lang.String |
getValue()
Get the requested value of the resource
|
public HardRequestValue(java.lang.String resource, java.lang.String value, double uc)
resource
- the name of the resourcevalue
- requested value of the resourceuc
- urgency contribution of the resourcepublic java.lang.String getResource()
public java.lang.String getValue()
public double getContribution()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.