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.CloneableClass 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 InputSourceclone()Method clone.java.lang.StringgetLocation()Get the path/URL of the POM ornullif unknown.java.lang.StringgetModelId()Get the identifier of the POM in the format<groupId>:<artifactId>:<version>.voidsetLocation(java.lang.String location)Set the path/URL of the POM ornullif unknown.voidsetModelId(java.lang.String modelId)Set the identifier of the POM in the format<groupId>:<artifactId>:<version>.java.lang.StringtoString()
-
-
-
Method Detail
-
clone
public InputSource clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- InputSource
-
getLocation
public java.lang.String getLocation()
Get the path/URL of the POM ornullif 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 ornullif 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:
toStringin classjava.lang.Object
-
-