public class VCSCoordinates extends Object
Constructor and Description |
---|
VCSCoordinates()
Constructor for VCSCoordinates.
|
VCSCoordinates(String name,
String url)
Constructor for VCSCoordinates.
|
VCSCoordinates(String name,
String url,
String credentialId)
Constructor for VCSCoordinates.
|
Modifier and Type | Method and Description |
---|---|
List<VCSRef> |
getBranches()
getBranches.
|
String |
getCredentialId()
Credential to access to the repository
|
String |
getName()
Getter for the field
name . |
List<VCSRef> |
getReferences()
Getter for the field
references . |
List<VCSRef> |
getTags()
getTags.
|
String |
getUrl()
Returns the SCM URL used to access to this remote repository.
|
void |
setCredentialId(String credentialId)
Setter for the field
credentialId . |
void |
setName(String name)
Setter for the field
name . |
void |
setReferences(List<VCSRef> references)
Setter for the field
references . |
void |
setUrl(String url)
Setter for the field
url . |
String |
toString()
Returns a string representation of the object.
|
public VCSCoordinates()
Constructor for VCSCoordinates.
public VCSCoordinates(@NotNull String name, @NotNull String url)
Constructor for VCSCoordinates.
public String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public void setName(String name)
Setter for the field name
.
name
- a String
object.public String getUrl()
String
object.public String getCredentialId()
public void setCredentialId(String credentialId)
Setter for the field credentialId
.
credentialId
- a String
object.public List<VCSRef> getReferences()
Getter for the field references
.
List
object.public void setReferences(List<VCSRef> references)
Setter for the field references
.
references
- a List
object.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.