Package jsl.modeling.elements.entity
Class SeizeResources.AllocationSetListener
- java.lang.Object
-
- jsl.modeling.elements.entity.SeizeResources.AllocationSetListener
-
- All Implemented Interfaces:
AllocationListenerIfc
- Enclosing class:
- SeizeResources
protected class SeizeResources.AllocationSetListener extends java.lang.Object implements AllocationListenerIfc
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Allocation>
myAllocations
protected java.util.List<Request>
myRequests
-
Constructor Summary
Constructors Constructor Description AllocationSetListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Request r)
void
allocated(Request request)
This method is called whenever units of a resource have been allocated to a request.
-
-
-
Field Detail
-
myRequests
protected java.util.List<Request> myRequests
-
myAllocations
protected java.util.List<Allocation> myAllocations
-
-
Method Detail
-
add
public void add(Request r)
-
allocated
public void allocated(Request request)
Description copied from interface:AllocationListenerIfc
This method is called whenever units of a resource have been allocated to a request.- Specified by:
allocated
in interfaceAllocationListenerIfc
-
-