public class InputSource
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
location
The path/URL of the POM or
null if
unknown. |
private java.lang.String |
modelId
The identifier of the POM in the format
<groupId>:<artifactId>:<version> . |
Constructor and Description |
---|
InputSource() |
Modifier and Type | Method and Description |
---|---|
InputSource |
clone()
Method clone.
|
java.lang.String |
getLocation()
Get the path/URL of the POM or
null 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 or
null if unknown. |
void |
setModelId(java.lang.String modelId)
Set the identifier of the POM in the format
<groupId>:<artifactId>:<version> . |
java.lang.String |
toString() |
private java.lang.String modelId
<groupId>:<artifactId>:<version>
.private java.lang.String location
null
if
unknown.public InputSource clone()
clone
in class java.lang.Object
public java.lang.String getLocation()
null
if unknown.public java.lang.String getModelId()
<groupId>:<artifactId>:<version>
.public void setLocation(java.lang.String location)
null
if unknown.location
- public void setModelId(java.lang.String modelId)
<groupId>:<artifactId>:<version>
.modelId
- public java.lang.String toString()
toString
in class java.lang.Object