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 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 . |
private InputLocation |
childScmConnectionInheritAppendPathLocation
Field childScmConnectionInheritAppendPathLocation.
|
private java.lang.String |
childScmDeveloperConnectionInheritAppendPath
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 . |
private InputLocation |
childScmDeveloperConnectionInheritAppendPathLocation
Field childScmDeveloperConnectionInheritAppendPathLocation.
|
private java.lang.String |
childScmUrlInheritAppendPath
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 . |
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 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. |
java.lang.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. |
java.lang.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. |
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 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(java.lang.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(java.lang.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(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.
|
java.lang.String |
toString() |
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
- a key object.public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- a key object.location
- a location object.public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- a key object.location
- a location object.private InputLocation getOtherLocation(java.lang.Object key)
key
- a key object.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
- a
childScmConnectionInheritAppendPath object.public void setChildScmDeveloperConnectionInheritAppendPath(java.lang.String childScmDeveloperConnectionInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmDeveloperConnectionInheritAppendPath
- a
childScmDeveloperConnectionInheritAppendPath object.public void setChildScmUrlInheritAppendPath(java.lang.String childScmUrlInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childScmUrlInheritAppendPath
- a
childScmUrlInheritAppendPath object.public void setConnection(java.lang.String connection)
child.scm.connection.inherit.append.path="false"
connection
- a connection object.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
- a developerConnection object.public void setTag(java.lang.String tag)
tag
- a tag object.public void setUrl(java.lang.String url)
child.scm.url.inherit.append.path="false"
url
- a url object.public boolean isChildScmConnectionInheritAppendPath()
public void setChildScmConnectionInheritAppendPath(boolean childScmConnectionInheritAppendPath)
public boolean isChildScmDeveloperConnectionInheritAppendPath()
public void setChildScmDeveloperConnectionInheritAppendPath(boolean childScmDeveloperConnectionInheritAppendPath)
public boolean isChildScmUrlInheritAppendPath()
public void setChildScmUrlInheritAppendPath(boolean childScmUrlInheritAppendPath)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()