Package org.apache.maven.api.settings
Interface InputLocationTracker
- All Known Implementing Classes:
Activation,ActivationFile,ActivationOS,ActivationProperty,IdentifiableBase,InputLocation,Mirror,Profile,Proxy,Repository,RepositoryBase,RepositoryPolicy,Server,Settings,TrackableBase
public interface InputLocationTracker
Tracks input locations for model fields.
Implementations store a mapping from keys (usually field names or indices) to the corresponding InputLocation in the source. Keys must be non-null.
-
Method Summary
Modifier and TypeMethodDescriptiongetLocation(Object field) Gets the location of the specified field in the input source.
-
Method Details
-
getLocation
Gets the location of the specified field in the input source.- Parameters:
field- the key of the field, must not benull- Returns:
- the location of the field in the input source or
nullif unknown - Throws:
NullPointerException- iffieldisnull
-