public class Scm extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
<scm> element contains
informations required to the SCM
(Source Control Management) of the project.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
connection
The source control management system URL
that describes the repository and how to connect
to the
repository.
|
private java.lang.String |
developerConnection
Just like
connection, but for
developers, i.e. |
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
tag
The tag of current code.
|
private java.lang.String |
url
The URL to the project's browsable SCM
repository, such as ViewVC or Fisheye.
|
| Constructor and Description |
|---|
Scm() |
| Modifier and Type | Method and Description |
|---|---|
Scm |
clone()
Method clone.
|
java.lang.String |
getConnection()
Get the source control management system URL
that describes the repository and how to connect
to the
repository.
|
java.lang.String |
getDeveloperConnection()
Get just like
connection, but for developers,
i.e. |
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getTag()
Get the tag of current code.
|
java.lang.String |
getUrl()
Get the URL to the project's browsable SCM repository, such
as ViewVC or Fisheye.
|
void |
setConnection(java.lang.String connection)
Set the source control management system URL
that describes the repository and how to connect
to the
repository.
|
void |
setDeveloperConnection(java.lang.String developerConnection)
Set just like
connection, but for developers,
i.e. |
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setTag(java.lang.String tag)
Set the tag of current code.
|
void |
setUrl(java.lang.String url)
Set the URL to the project's browsable SCM repository, such
as ViewVC or Fisheye.
|
private java.lang.String connection
project.directory property)
.private java.lang.String developerConnection
connection, but for
developers, i.e. this scm connection
will not be read only.
project.directory property)
.private java.lang.String tag
private java.lang.String url
project.directory property)
.private java.util.Map<java.lang.Object,InputLocation> locations
public Scm clone()
clone in class java.lang.Objectpublic java.lang.String getConnection()
project.directory property).public java.lang.String getDeveloperConnection()
connection, but for developers,
i.e. this scm connection
will not be read only.
project.directory property).public InputLocation getLocation(java.lang.Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public java.lang.String getTag()
public java.lang.String getUrl()
project.directory property).public void setConnection(java.lang.String connection)
project.directory property).connection - public void setDeveloperConnection(java.lang.String developerConnection)
connection, but for developers,
i.e. this scm connection
will not be read only.
project.directory property).developerConnection - public void setLocation(java.lang.Object key,
InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setTag(java.lang.String tag)
tag - public void setUrl(java.lang.String url)
project.directory property).url -