Package org.apache.maven.model
Class InputSource
- java.lang.Object
-
- org.apache.maven.model.InputSource
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InputSource extends Object implements Serializable, Cloneable
Class InputSource.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSource
clone()
Method clone.String
getLocation()
Get the path/URL of the POM ornull
if unknown.String
getModelId()
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.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>
.String
toString()
-
-
-
Method Detail
-
clone
public InputSource clone()
Method clone.
-
getLocation
public String getLocation()
Get the path/URL of the POM ornull
if unknown.- Returns:
- String
-
getModelId
public String getModelId()
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Returns:
- String
-
setLocation
public void setLocation(String location)
Set the path/URL of the POM ornull
if unknown.- Parameters:
location
- a location object.
-
setModelId
public void setModelId(String modelId)
Set the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Parameters:
modelId
- a modelId object.
-
-