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 |
childScmConnectionInheritAppendPath
When childs 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 . |
private InputLocation |
childScmConnectionInheritAppendPathLocation
Field childScmConnectionInheritAppendPathLocation.
|
private java.lang.String |
childScmDeveloperConnectionInheritAppendPath
When childs 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 . |
private InputLocation |
childScmDeveloperConnectionInheritAppendPathLocation
Field childScmDeveloperConnectionInheritAppendPathLocation.
|
private java.lang.String |
childScmUrlInheritAppendPath
When childs 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 . |
private InputLocation |
childScmUrlInheritAppendPathLocation
Field childScmUrlInheritAppendPathLocation.
|
private java.lang.String |
connection
The source control management system URL
that describes the repository and how to connect
to the
repository.
|
private InputLocation |
connectionLocation
Field connectionLocation.
|
private java.lang.String |
developerConnection
Just like
connection , but for
developers, i.e. |
private InputLocation |
developerConnectionLocation
Field developerConnectionLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
tag
The tag of current code.
|
private InputLocation |
tagLocation
Field tagLocation.
|
private java.lang.String |
url
The URL to the project's browsable SCM
repository, such as ViewVC or Fisheye.
|
private InputLocation |
urlLocation
Field urlLocation.
|
Constructor and Description |
---|
Scm() |
Modifier and Type | Method and Description |
---|---|
Scm |
clone()
Method clone.
|
java.lang.String |
getChildScmConnectionInheritAppendPath()
Get when childs 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. |
java.lang.String |
getChildScmDeveloperConnectionInheritAppendPath()
Get when childs 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. |
java.lang.String |
getChildScmUrlInheritAppendPath()
Get when childs 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. |
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.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
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.
|
boolean |
isChildScmConnectionInheritAppendPath() |
boolean |
isChildScmDeveloperConnectionInheritAppendPath() |
boolean |
isChildScmUrlInheritAppendPath() |
void |
setChildScmConnectionInheritAppendPath(boolean childScmConnectionInheritAppendPath) |
void |
setChildScmConnectionInheritAppendPath(java.lang.String childScmConnectionInheritAppendPath)
Set when childs 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(java.lang.String childScmDeveloperConnectionInheritAppendPath)
Set when childs 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(java.lang.String childScmUrlInheritAppendPath)
Set when childs 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(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 |
setOtherLocation(java.lang.Object key,
InputLocation location) |
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
child.scm.connection.inherit.append.path="false"
private java.lang.String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.
child.scm.developerConnection.inherit.append.path="false"
private java.lang.String tag
private java.lang.String url
child.scm.url.inherit.append.path="false"
private java.lang.String childScmConnectionInheritAppendPath
String
for
technical reasons, the semantic type is actually
Boolean
true
private java.lang.String childScmDeveloperConnectionInheritAppendPath
String
for
technical reasons, the semantic type is actually
Boolean
true
private java.lang.String childScmUrlInheritAppendPath
String
for
technical reasons, the semantic type is actually
Boolean
true
private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation connectionLocation
private InputLocation developerConnectionLocation
private InputLocation tagLocation
private InputLocation urlLocation
private InputLocation childScmConnectionInheritAppendPathLocation
private InputLocation childScmDeveloperConnectionInheritAppendPathLocation
private InputLocation childScmUrlInheritAppendPathLocation
public Scm clone()
clone
in class java.lang.Object
public java.lang.String getChildScmConnectionInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public java.lang.String getChildScmDeveloperConnectionInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public java.lang.String getChildScmUrlInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public java.lang.String getConnection()
child.scm.connection.inherit.append.path="false"
public java.lang.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(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- location
- private InputLocation getOtherLocation(java.lang.Object key)
key
- public java.lang.String getTag()
public java.lang.String getUrl()
child.scm.url.inherit.append.path="false"
public void setChildScmConnectionInheritAppendPath(java.lang.String childScmConnectionInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmConnectionInheritAppendPath
- public void setChildScmDeveloperConnectionInheritAppendPath(java.lang.String childScmDeveloperConnectionInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmDeveloperConnectionInheritAppendPath
- public void setChildScmUrlInheritAppendPath(java.lang.String childScmUrlInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmUrlInheritAppendPath
- public void setConnection(java.lang.String connection)
child.scm.connection.inherit.append.path="false"
connection
- public void setDeveloperConnection(java.lang.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(java.lang.String tag)
tag
- public void setUrl(java.lang.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)