Package org.apache.maven.api.model
Class InputSource
java.lang.Object
org.apache.maven.api.model.InputSource
- All Implemented Interfaces:
Serializable
Class InputSource.
- See Also:
-
Constructor Summary
ConstructorDescriptionInputSource
(String modelId, String location) InputSource
(String modelId, String location, InputLocation importedFrom) InputSource
(Collection<InputSource> inputs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the parent InputLocation where this InputLocation may have been imported from.Get the path/URL of the POM ornull
if unknown.Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.int
hashCode()
static InputSource
merge
(InputSource src1, InputSource src2) toString()
-
Constructor Details
-
InputSource
-
InputSource
-
InputSource
-
-
Method Details
-
getLocation
Get the path/URL of the POM ornull
if unknown.- Returns:
- the location
-
getModelId
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Returns:
- the model id
-
getImportedFrom
Gets the parent InputLocation where this InputLocation may have been imported from. Can returnnull
.- Returns:
- InputLocation
- Since:
- 4.0.0
-
equals
-
hashCode
public int hashCode() -
toString
-
merge
-