Package org.eclipse.aether.internal.impl
Class TrackingFileManagerSupplier
java.lang.Object
org.eclipse.aether.internal.impl.TrackingFileManagerSupplier
- All Implemented Interfaces:
Supplier<TrackingFileManager>
@Singleton
@Named
public class TrackingFileManagerSupplier
extends Object
implements Supplier<TrackingFileManager>
Supplies selected instance of
TrackingFileManager implementation.- Since:
- 2.0.18
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, to be used in tests; provides "legacy" tracking file manager only.Constructor to be used in production. -
Method Summary
-
Field Details
-
CONFIG_PROPS_PREFIX
- See Also:
-
CONFIG_PROP_TRACKING_FILE_MANAGER_NAME
Name of the tracking file manager to use. Supported values are "namedLocks" and "legacy". The latter should be used if it is known, that local repository is simultaneously accessed by Maven 3.10+ and older Maven versions. This decision happens early, during boot of the system, hence system properties can be used only as configuration source.- See Also:
- Sourced from:
System.getProperty(String, String)- Value type:
String- Default value:
DEFAULT_TRACKING_FILE_MANAGER_NAME
-
DEFAULT_TRACKING_FILE_MANAGER_NAME
- See Also:
-
-
Constructor Details
-
TrackingFileManagerSupplier
public TrackingFileManagerSupplier()Default constructor, to be used in tests; provides "legacy" tracking file manager only. -
TrackingFileManagerSupplier
Constructor to be used in production.
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<TrackingFileManager>
-