Package org.openwms.tms.routing.spi
Class ActivitiMatrix
java.lang.Object
org.openwms.tms.routing.spi.ActivitiMatrix
- All Implemented Interfaces:
Matrix
A ActivitiMatrix.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.springframework.cloud.client.discovery.DiscoveryClient
private final org.openwms.common.location.api.LocationGroupApi
private static final org.slf4j.Logger
static final String
private final ActionRepository
private final org.springframework.web.client.RestTemplate
-
Constructor Summary
ConstructorDescriptionActivitiMatrix
(ActionRepository repository, org.springframework.web.client.RestTemplate restTemplate, org.openwms.common.location.api.LocationGroupApi locationGroupApi, org.springframework.cloud.client.discovery.DiscoveryClient dc) -
Method Summary
Modifier and TypeMethodDescriptionfindBy
(String actionType, Route route, org.openwms.common.location.api.LocationVO location, org.openwms.common.location.api.LocationGroupVO locationGroup) Find and return anAction
.findInLocationGroupHierarchy
(String actionType, Route route, org.openwms.common.location.api.LocationGroupVO locationGroup) private org.openwms.common.location.api.LocationGroupVO
findLocationGroup
(org.springframework.hateoas.Link parent)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MSG
- See Also:
-
repository
-
restTemplate
private final org.springframework.web.client.RestTemplate restTemplate -
locationGroupApi
private final org.openwms.common.location.api.LocationGroupApi locationGroupApi -
dc
private final org.springframework.cloud.client.discovery.DiscoveryClient dc
-
-
Constructor Details
-
ActivitiMatrix
ActivitiMatrix(ActionRepository repository, @Qualifier("simpleRestTemplate") org.springframework.web.client.RestTemplate restTemplate, org.openwms.common.location.api.LocationGroupApi locationGroupApi, org.springframework.cloud.client.discovery.DiscoveryClient dc)
-
-
Method Details
-
findBy
@Cacheable("actions") public Action findBy(String actionType, Route route, @Nullable org.openwms.common.location.api.LocationVO location, @Nullable org.openwms.common.location.api.LocationGroupVO locationGroup) Find and return anAction
. -
findInLocationGroupHierarchy
-
findLocationGroup
private org.openwms.common.location.api.LocationGroupVO findLocationGroup(org.springframework.hateoas.Link parent)
-