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 |
getChildScmConnectionInheritAppendPath()
Get when children inherit from scm connection, append path
or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
String |
getChildScmDeveloperConnectionInheritAppendPath()
Get when children inherit from scm developer connection,
append path or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
String |
getChildScmUrlInheritAppendPath()
Get when children inherit from scm url, append path or not?
Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
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 |
isChildScmConnectionInheritAppendPath() |
boolean |
isChildScmDeveloperConnectionInheritAppendPath() |
boolean |
isChildScmUrlInheritAppendPath() |
void |
setChildScmConnectionInheritAppendPath(boolean childScmConnectionInheritAppendPath) |
void |
setChildScmConnectionInheritAppendPath(String childScmConnectionInheritAppendPath)
Set when children inherit from scm connection, append path
or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
void |
setChildScmDeveloperConnectionInheritAppendPath(boolean childScmDeveloperConnectionInheritAppendPath) |
void |
setChildScmDeveloperConnectionInheritAppendPath(String childScmDeveloperConnectionInheritAppendPath)
Set when children inherit from scm developer connection,
append path or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
void |
setChildScmUrlInheritAppendPath(boolean childScmUrlInheritAppendPath) |
void |
setChildScmUrlInheritAppendPath(String childScmUrlInheritAppendPath)
Set when children inherit from scm url, append path or not?
Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
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 |
setOtherLocation(Object key,
InputLocation location) |
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 getChildScmConnectionInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public String getChildScmDeveloperConnectionInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public String getChildScmUrlInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public String getConnection()
child.scm.connection.inherit.append.path="false"
public String getDeveloperConnection()
connection
, but for developers,
i.e. this scm connection
will not be read only.
child.scm.developerConnection.inherit.append.path="false"
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public String getTag()
public String getUrl()
child.scm.url.inherit.append.path="false"
public void setChildScmConnectionInheritAppendPath(String childScmConnectionInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmConnectionInheritAppendPath
- public void setChildScmDeveloperConnectionInheritAppendPath(String childScmDeveloperConnectionInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmDeveloperConnectionInheritAppendPath
- public void setChildScmUrlInheritAppendPath(String childScmUrlInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmUrlInheritAppendPath
- public void setConnection(String connection)
child.scm.connection.inherit.append.path="false"
connection
- public void setDeveloperConnection(String developerConnection)
connection
, but for developers,
i.e. this scm connection
will not be read only.
child.scm.developerConnection.inherit.append.path="false"
developerConnection
- public void setTag(String tag)
tag
- public void setUrl(String url)
child.scm.url.inherit.append.path="false"
url
- public boolean isChildScmConnectionInheritAppendPath()
public void setChildScmConnectionInheritAppendPath(boolean childScmConnectionInheritAppendPath)
public boolean isChildScmDeveloperConnectionInheritAppendPath()
public void setChildScmDeveloperConnectionInheritAppendPath(boolean childScmDeveloperConnectionInheritAppendPath)
public boolean isChildScmUrlInheritAppendPath()
public void setChildScmUrlInheritAppendPath(boolean childScmUrlInheritAppendPath)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.