Package org.openwms.tms.impl.targets
Class DefaultTargetResolvers.LocationGroupTargetResolver
java.lang.Object
org.openwms.tms.impl.targets.DefaultTargetResolvers.LocationGroupTargetResolver
- All Implemented Interfaces:
TargetResolver<org.openwms.common.location.api.LocationGroupVO>
- Enclosing class:
DefaultTargetResolvers
@Component
static class DefaultTargetResolvers.LocationGroupTargetResolver
extends Object
implements TargetResolver<org.openwms.common.location.api.LocationGroupVO>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TargetHandler
<org.openwms.common.location.api.LocationGroupVO> private final org.openwms.common.location.api.LocationGroupApi
-
Constructor Summary
ConstructorDescriptionLocationGroupTargetResolver
(org.openwms.common.location.api.LocationGroupApi locationGroupApi, TargetHandler<org.openwms.common.location.api.LocationGroupVO> handler) -
Method Summary
Modifier and TypeMethodDescriptionTargetHandler
<org.openwms.common.location.api.LocationGroupVO> Get a handle reference to the handler instance that actually resolves the target.Optional
<org.openwms.common.location.api.LocationGroupVO> Resolves aTargetVO
for a giventarget
.
-
Field Details
-
locationGroupApi
private final org.openwms.common.location.api.LocationGroupApi locationGroupApi -
handler
-
-
Constructor Details
-
LocationGroupTargetResolver
public LocationGroupTargetResolver(org.openwms.common.location.api.LocationGroupApi locationGroupApi, TargetHandler<org.openwms.common.location.api.LocationGroupVO> handler)
-
-
Method Details
-
resolve
Resolves aTargetVO
for a giventarget
.- Specified by:
resolve
in interfaceTargetResolver<org.openwms.common.location.api.LocationGroupVO>
- Parameters:
target
- The target to resolve- Returns:
- The target instance
-
getHandler
Get a handle reference to the handler instance that actually resolves the target.- Specified by:
getHandler
in interfaceTargetResolver<org.openwms.common.location.api.LocationGroupVO>
- Returns:
- The handler instance
-