Package org.eclipse.aether.internal.impl
Class DefaultTrackingFileManager
java.lang.Object
org.eclipse.aether.internal.impl.DefaultTrackingFileManager
- All Implemented Interfaces:
TrackingFileManager
@Singleton
@Named
public final class DefaultTrackingFileManager
extends Object
implements TrackingFileManager
Manages access to a properties file.
Note: the file locking in this component (that predates SyncContext
) is present only
to back off two parallel implementations that coexist in Maven (this class and maven-compat
one), as in
certain cases the two implementations may collide on properties files. This locking must remain in place for as long
as maven-compat
code exists.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Reads up the specified properties file intoProperties
, if exists, otherwisenull
is returned.Deprecated.Applies updates to specified properties file and returns resultingProperties
with contents same as in updated file, nevernull
.
-
Constructor Details
-
DefaultTrackingFileManager
public DefaultTrackingFileManager()
-
-
Method Details
-
read
Deprecated.Description copied from interface:TrackingFileManager
Reads up the specified properties file intoProperties
, if exists, otherwisenull
is returned.- Specified by:
read
in interfaceTrackingFileManager
-
read
Description copied from interface:TrackingFileManager
Reads up the specified properties file intoProperties
, if exists, otherwisenull
is returned.- Specified by:
read
in interfaceTrackingFileManager
-
update
Deprecated.Description copied from interface:TrackingFileManager
Applies updates to specified properties file and returns resultingProperties
with contents same as in updated file, nevernull
.- Specified by:
update
in interfaceTrackingFileManager
-
update
Description copied from interface:TrackingFileManager
Applies updates to specified properties file and returns resultingProperties
with contents same as in updated file, nevernull
.- Specified by:
update
in interfaceTrackingFileManager
-