org.isam.exehda.services
Class ResourceBroker.ResourceConstraint

java.lang.Object
  |
  +--org.isam.exehda.services.ResourceBroker.ResourceConstraint
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ResourceBroker.CompositeResourceConstraint, ResourceBroker.DynamicConstraint, ResourceBroker.StaticConstraint
Enclosing class:
ResourceBroker

public abstract static class ResourceBroker.ResourceConstraint
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int BROKEN
           
static int OK
           
static int UNDEFINED
           
 
Constructor Summary
ResourceBroker.ResourceConstraint()
           
 
Method Summary
abstract  int check(ResourceBroker.ResourceInfo r)
          Describe check method here.
abstract  ResourceBroker.ResourceInfo[] select(ResourceBroker.ResourceInfo[] canditates, boolean undefinedIsOk)
          Describe select method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

BROKEN

public static final int BROKEN
See Also:
Constant Field Values
Constructor Detail

ResourceBroker.ResourceConstraint

public ResourceBroker.ResourceConstraint()
Method Detail

check

public abstract int check(ResourceBroker.ResourceInfo r)
Describe check method here.

Parameters:
r - a ResourceInfo value
Returns:
an int value

select

public abstract ResourceBroker.ResourceInfo[] select(ResourceBroker.ResourceInfo[] canditates,
                                                     boolean undefinedIsOk)
Describe select method here.

Parameters:
canditates - a ResourceInfo[] value
undefinedIsOk - a boolean value
Returns:
a ResourceInfo[] value