Package org.apache.maven.model
Class InputSource
java.lang.Object
org.apache.maven.model.InputSource
- All Implemented Interfaces:
Serializable
,Cloneable
Class InputSource.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.Get the location of the POM from which this POM wasGet the path/URL of the POM ornull
if unknown.Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.void
setImportedFrom
(InputLocation importedFrom) Set the location of the POM from which this POM was imported from.void
setLocation
(String location) Set the path/URL of the POM ornull
if unknown.void
setModelId
(String modelId) Set the identifier of the POM in the format<groupId>:<artifactId>:<version>
.toString()
-
Constructor Details
-
InputSource
public InputSource() -
InputSource
-
-
Method Details
-
clone
Method clone. -
getLocation
Get the path/URL of the POM ornull
if unknown.- Returns:
- String
-
getModelId
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Returns:
- String
-
setLocation
Set the path/URL of the POM ornull
if unknown.- Parameters:
location
-
-
setModelId
Set the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Parameters:
modelId
-
-
getImportedFrom
Get the location of the POM from which this POM was- Returns:
-
setImportedFrom
Set the location of the POM from which this POM was imported from.- Parameters:
importedFrom
-
-
toString
-
toApiSource
-