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. | 
| 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. | 
| 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 String getConnection()
project.directory property).public String getDeveloperConnection()
connection, but for developers,
 i.e. this scm connection
             will not be read only.
             project.directory property).public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public String getTag()
public String getUrl()
project.directory property).public void setConnection(String connection)
project.directory property).connection - public void setDeveloperConnection(String developerConnection)
connection, but for developers,
 i.e. this scm connection
             will not be read only.
             project.directory property).developerConnection - public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setTag(String tag)
tag - public void setUrl(String url)
project.directory property).url - Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.