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
ConstructorsConstructorDescriptionInputSource(String modelId, String location) InputSource(String modelId, String location, InputLocation importedFrom) InputSource(Collection<InputSource> inputs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the parent InputLocation where this InputLocation may have been imported from.Get the path/URL of the POM ornullif unknown.Get the identifier of the POM in the format<groupId>:<artifactId>:<version>.inthashCode()static InputSourcemerge(InputSource src1, InputSource src2) toString()
-
Constructor Details
-
InputSource
-
InputSource
-
InputSource
-
-
Method Details
-
getLocation
Get the path/URL of the POM ornullif 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
-