public class Scm extends Object implements Serializable, Cloneable, InputLocationTracker
<scm>
element contains
informations required to the SCM
(Source Control Management) of the project.Constructor and Description |
---|
Scm() |
Modifier and Type | Method and Description |
---|---|
Scm |
clone()
Method clone.
|
String |
getConnection()
Get the source control management system URL
that describes the repository and how to connect
to the
repository.
|
String |
getDeveloperConnection()
Get just like
connection , but for developers,
i.e. this scm connection
will not be read only. |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getTag()
Get the tag of current code.
|
String |
getUrl()
Get the URL to the project's browsable SCM repository, such
as ViewVC or Fisheye.
|
void |
setConnection(String connection)
Set the source control management system URL
that describes the repository and how to connect
to the
repository.
|
void |
setDeveloperConnection(String developerConnection)
Set just like
connection , but for developers,
i.e. this scm connection
will not be read only. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setTag(String tag)
Set the tag of current code.
|
void |
setUrl(String url)
Set the URL to the project's browsable SCM repository, such
as ViewVC or Fisheye.
|
public Scm()
public String getConnection()
public String getDeveloperConnection()
connection
, but for developers,
i.e. this scm connection
will not be read only.
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getTag()
public String getUrl()
public void setConnection(String connection)
connection
- public void setDeveloperConnection(String developerConnection)
connection
, but for developers,
i.e. this scm connection
will not be read only.
developerConnection
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setTag(String tag)
tag
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.