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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Method clone.Get the location of the POM from which this POM wasGet the path/URL of the POM ornullif unknown.Get the identifier of the POM in the format<groupId>:<artifactId>:<version>.voidsetImportedFrom(InputLocation importedFrom) Set the location of the POM from which this POM was imported from.voidsetLocation(String location) Set the path/URL of the POM ornullif unknown.voidsetModelId(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 ornullif 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 ornullif 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
-