Class TLfnReplicationAreaOfInterestManager
This class manages the available areas of interest during a replication session. This class allows you to create new areas, change existing areas or delete them.
The available areas of interest include all the areas you define in a replication session, and all areas from a previous replication as well. This means that when you created and used an area of interest during a past replication of a certain tile store, the same area of interest will be available in the manager when replicating again.
Note: it is not possible to create instances of this class directly.
An instance becomes available during replication (see TLfnReplication
)
and is only valid during the replication session.
- Since:
- 2015.0
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ILcdShape aShape, ILcdGeoReference aGeoReference, String aName) Creates and adds a new area of interest instance to this manager.getAreas()
Returns an unmodifiable list of all known areas.void
remove
(TLfnReplicationAreaOfInterest aAreaOfInterest) Removes the specified area of interest from this manager.
-
Method Details
-
add
public TLfnReplicationAreaOfInterest add(ILcdShape aShape, ILcdGeoReference aGeoReference, String aName) Creates and adds a new area of interest instance to this manager.
Making subsequent changes to the area must be done using the setters available on the
AreaOfInterest
class. Simply modifyingaShape
and/oraGeoReference
is not sufficient. Consult the javadoc of the setters and getters in theAreaOfInterest
class for more information.- Parameters:
aShape
- The shape of the area of interestaGeoReference
- The geo-reference in which the shape is defined. Currently only WGS 84 is supported as geo-referenceaName
- A name for the area of interest.- Returns:
- The newly created area of interest
-
remove
Removes the specified area of interest from this manager.
Each resource which was configured to use the specified area during replication will now replicate the whole dataset.
- Parameters:
aAreaOfInterest
- The area of interest to remove
-
getAreas
Returns an unmodifiable list of all known areas.
- Returns:
- an unmodifiable list of all known areas.
-