Package org.apache.maven.model
Class InputSource
- java.lang.Object
-
- org.apache.maven.model.InputSource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class InputSource extends java.lang.Object implements java.io.Serializable, java.lang.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.java.lang.String
getLocation()
Get the path/URL of the POM ornull
if unknown.java.lang.String
getModelId()
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.void
setLocation(java.lang.String location)
Set the path/URL of the POM ornull
if unknown.void
setModelId(java.lang.String modelId)
Set the identifier of the POM in the format<groupId>:<artifactId>:<version>
.java.lang.String
toString()
-
-
-
Method Detail
-
clone
public InputSource clone()
Method clone.- Overrides:
clone
in classjava.lang.Object
- Returns:
- InputSource
-
getLocation
public java.lang.String getLocation()
Get the path/URL of the POM ornull
if unknown.- Returns:
- String
-
getModelId
public java.lang.String getModelId()
Get the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Returns:
- String
-
setLocation
public void setLocation(java.lang.String location)
Set the path/URL of the POM ornull
if unknown.- Parameters:
location
- a location object.
-
setModelId
public void setModelId(java.lang.String modelId)
Set the identifier of the POM in the format<groupId>:<artifactId>:<version>
.- Parameters:
modelId
- a modelId object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-