Package org.opentcs.access
Class SchedulerAllocationState
java.lang.Object
org.opentcs.access.SchedulerAllocationState
- All Implemented Interfaces:
java.io.Serializable
public class SchedulerAllocationState
extends java.lang.Object
implements java.io.Serializable
Represents the current state of resource allocations.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SchedulerAllocationState(java.util.Map<java.lang.String,java.util.Set<TCSResource<?>>> allocationStates)
Creates a new instance. -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.Set<TCSResource<?>>>
getAllocationStates()
Returns the current state of allocations.
-
Constructor Details
-
SchedulerAllocationState
public SchedulerAllocationState(@Nonnull java.util.Map<java.lang.String,java.util.Set<TCSResource<?>>> allocationStates)Creates a new instance.- Parameters:
allocationStates
- The current state of allocations.
-
-
Method Details
-
getAllocationStates
Returns the current state of allocations.- Returns:
- The current state of allocations.
-