Class SchedulingCoordinatesPathHelper
java.lang.Object
overit.geocallapp.wfm.orchestrator.scheduling.utils.SchedulingCoordinatesPathHelper
Helper class for calculate the
CoordinatesPath between two scheduled activities.- Since:
- 17.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SchedulingAddressprotected org.locationtech.jts.geom.Coordinateprotected SchedulingAddressprotected org.locationtech.jts.geom.Coordinateprotected SchedulingAddress -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateCoordinatesPath(org.locationtech.jts.geom.Coordinate[] coordinates, PoolKit poolKit) getInstance(org.locationtech.jts.geom.Coordinate previousSchedulingDefaultCoordinates, SchedulingAddress previousSchedulingAddress, org.locationtech.jts.geom.Coordinate nextSchedulingDefaultCoordinates, SchedulingAddress nextSchedulingAddress, SchedulingAddress targetSchedulingAddress) getNextSchedulingAccessTime(boolean isNextAddressInverted, boolean invertAssetDirection) getNextSchedulingCoordinatesPath(boolean isNextAddressInverted, boolean invertSchedulingDirection, PoolKit poolKit) getPreviousSchedulingAccessTime(boolean isPreviousAddressInverted, boolean invertAssetDirection) getPreviousSchedulingCoordinatesPath(boolean isPreviousAddressInverted, boolean invertAssetDirection, PoolKit poolKit) voidsetOperationCenter(Long operationCenter) voidsetOssSpace(Long ossSpace)
-
Field Details
-
previousSchedulingDefaultCoordinates
protected org.locationtech.jts.geom.Coordinate previousSchedulingDefaultCoordinates -
previousSchedulingAddress
-
nextSchedulingDefaultCoordinates
protected org.locationtech.jts.geom.Coordinate nextSchedulingDefaultCoordinates -
nextSchedulingAddress
-
targetSchedulingAddress
-
-
Constructor Details
-
SchedulingCoordinatesPathHelper
public SchedulingCoordinatesPathHelper()
-
-
Method Details
-
getInstance
public static SchedulingCoordinatesPathHelper getInstance(org.locationtech.jts.geom.Coordinate previousSchedulingDefaultCoordinates, SchedulingAddress previousSchedulingAddress, org.locationtech.jts.geom.Coordinate nextSchedulingDefaultCoordinates, SchedulingAddress nextSchedulingAddress, SchedulingAddress targetSchedulingAddress) -
getInstance
-
getPreviousSchedulingCoordinatesPath
public CoordinatesPath getPreviousSchedulingCoordinatesPath(boolean isPreviousAddressInverted, boolean invertAssetDirection, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getNextSchedulingCoordinatesPath
public CoordinatesPath getNextSchedulingCoordinatesPath(boolean isNextAddressInverted, boolean invertSchedulingDirection, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
calculateCoordinatesPath
public CoordinatesPath calculateCoordinatesPath(org.locationtech.jts.geom.Coordinate[] coordinates, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getPreviousSchedulingAccessTime
public Long getPreviousSchedulingAccessTime(boolean isPreviousAddressInverted, boolean invertAssetDirection) -
getNextSchedulingAccessTime
public Long getNextSchedulingAccessTime(boolean isNextAddressInverted, boolean invertAssetDirection) -
getOperationCenter
- Returns:
- the operationCenter
-
setOperationCenter
- Parameters:
operationCenter- the operationCenter to set
-
getOssSpace
- Returns:
- the ossSpace
-
setOssSpace
- Parameters:
ossSpace- the ossSpace to set
-