Uses of Class
org.apache.maven.api.toolchain.InputLocation
Packages that use InputLocation
Package
Description
Provides classes for managing Maven toolchains, which allow projects to use specific
tool installations (like JDKs, compilers, or other build tools) across different
environments without hardcoding paths.
-
Uses of InputLocation in org.apache.maven.api.toolchain
Methods in org.apache.maven.api.toolchain that return InputLocationModifier and TypeMethodDescriptionInputLocation.getImportedFrom()Gets the parent InputLocation where this InputLocation may have been imported from.InputLocationTracker.getImportedFrom()Gets the parent InputLocation where this InputLocation may have been imported from.InputSource.getImportedFrom()Gets the parent InputLocation where this InputLocation may have been imported from.TrackableBase.getImportedFrom()Gets the input location that caused this model to be read.InputLocation.getLocation(Object key) Gets the InputLocation for a specific nested element key.InputLocationTracker.getLocation(Object field) Gets the location of the specified field in the input source.TrackableBase.getLocation(Object key) Gets the location of the specified field in the input source.static InputLocationInputLocation.merge(InputLocation target, InputLocation source, boolean sourceDominant) Merges thesourcelocation into thetargetlocation.static InputLocationInputLocation.merge(InputLocation target, InputLocation source, Collection<Integer> indices) Merges thesourcelocation into thetargetlocation.static InputLocationInputLocation.of()Creates an empty InputLocation with no line/column information.static InputLocationInputLocation.of(int lineNumber, int columnNumber) Creates an InputLocation with the specified line and column numbers.static InputLocationInputLocation.of(int lineNumber, int columnNumber, InputSource source) Creates an InputLocation with the specified line number, column number, and source.static InputLocationInputLocation.of(int lineNumber, int columnNumber, InputSource source, Object selfLocationKey) Creates an InputLocation with the specified line number, column number, source, and a self-location key.static InputLocationInputLocation.of(int lineNumber, int columnNumber, InputSource source, Map<Object, InputLocation> locations) Creates an InputLocation with the specified line number, column number, source, and a complete locations map.Methods in org.apache.maven.api.toolchain that return types with arguments of type InputLocationModifier and TypeMethodDescriptionInputLocation.getLocations()Gets the map of nested element locations within this location.Methods in org.apache.maven.api.toolchain with parameters of type InputLocationModifier and TypeMethodDescriptionPersistedToolchains.Builder.importedFrom(InputLocation importedFrom) ToolchainModel.Builder.importedFrom(InputLocation importedFrom) TrackableBase.Builder.importedFrom(InputLocation importedFrom) PersistedToolchains.Builder.location(Object key, InputLocation location) ToolchainModel.Builder.location(Object key, InputLocation location) TrackableBase.Builder.location(Object key, InputLocation location) static InputLocationInputLocation.merge(InputLocation target, InputLocation source, boolean sourceDominant) Merges thesourcelocation into thetargetlocation.static InputLocationInputLocation.merge(InputLocation target, InputLocation source, Collection<Integer> indices) Merges thesourcelocation into thetargetlocation.Method parameters in org.apache.maven.api.toolchain with type arguments of type InputLocationModifier and TypeMethodDescriptionstatic InputLocationInputLocation.of(int lineNumber, int columnNumber, InputSource source, Map<Object, InputLocation> locations) Creates an InputLocation with the specified line number, column number, source, and a complete locations map. -
Uses of InputLocation in org.apache.maven.toolchain.v4
Fields in org.apache.maven.toolchain.v4 with type parameters of type InputLocationModifier and TypeFieldDescriptionprotected Function<InputLocation, String> MavenToolchainsStaxWriter.stringFormatterField stringFormatter.Methods in org.apache.maven.toolchain.v4 with parameters of type InputLocationModifier and TypeMethodDescriptionprotected StringMavenToolchainsStaxWriter.toString(InputLocation location) Method toString.Method parameters in org.apache.maven.toolchain.v4 with type arguments of type InputLocationModifier and TypeMethodDescriptionvoidMavenToolchainsStaxWriter.setStringFormatter(Function<InputLocation, String> stringFormatter) Method setStringFormatter.