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 |
getChildInheritAppendPath()
Get when childs inherit from urls, append path or not?.
|
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.
|
boolean |
isChildInheritAppendPath() |
void |
setChildInheritAppendPath(boolean childInheritAppendPath) |
void |
setChildInheritAppendPath(String childInheritAppendPath)
Set when childs inherit from urls, append path or not?.
|
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 getChildInheritAppendPath()
String for
technical reasons, the semantic type is actually
Boolean
truepublic 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), or just parent
value if
child.urls.inherit.append.path="false"public void setChildInheritAppendPath(String childInheritAppendPath)
String for
technical reasons, the semantic type is actually
Boolean
truechildInheritAppendPath - 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), or just parent
value if
child.urls.inherit.append.path="false"url - public boolean isChildInheritAppendPath()
public void setChildInheritAppendPath(boolean childInheritAppendPath)
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.