Package org.openwms.wms.movements.spi
Class DefaultMovementStateResolver
java.lang.Object
org.openwms.wms.movements.spi.DefaultMovementStateResolver
- All Implemented Interfaces:
MovementStateResolver
@Profile("!CUSTOM")
@Component
@RefreshScope
class DefaultMovementStateResolver
extends Object
implements MovementStateResolver
A DefaultMovementStateResolver.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DefaultMovementState
private final DefaultMovementState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the state when aMovement
is completely done.Get the state when aMovement
is created.
-
Field Details
-
newState
-
completedState
-
-
Constructor Details
-
DefaultMovementStateResolver
-
-
Method Details
-
getNewState
Get the state when aMovement
is created.- Specified by:
getNewState
in interfaceMovementStateResolver
- Returns:
- The state
-
getCompletedState
Get the state when aMovement
is completely done.- Specified by:
getCompletedState
in interfaceMovementStateResolver
- Returns:
- The state
-