Interface TargetResolver<T extends org.openwms.common.location.api.TargetVO>

All Known Implementing Classes:
DefaultTargetResolvers.LocationGroupTargetResolver, DefaultTargetResolvers.LocationTargetResolver

public interface TargetResolver<T extends org.openwms.common.location.api.TargetVO>
A TargetResolver is responsible to resolve a TargetVO.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a handle reference to the handler instance that actually resolves the target.
    resolve(String target)
    Resolves a TargetVO for a given target.
  • Method Details

    • resolve

      Optional<T> resolve(String target)
      Resolves a TargetVO for a given target.
      Parameters:
      target - The target to resolve
      Returns:
      The target instance
      Throws:
      org.ameba.exception.NotFoundException - If Target has not ben found
    • getHandler

      TargetHandler<T> getHandler()
      Get a handle reference to the handler instance that actually resolves the target.
      Returns:
      The handler instance