public class VCSRepository extends StorableObject
Modifier and Type | Class and Description |
---|---|
static class |
VCSRepository.Type
VCS Repository types
|
Constructor and Description |
---|
VCSRepository()
Constructor for VCSRepository.
|
VCSRepository(String name)
Constructor for VCSRepository.
|
VCSRepository(String name,
String id)
Constructor for VCSRepository.
|
Modifier and Type | Method and Description |
---|---|
void |
addRemoteRepository(String name,
String url)
addRemoteRepository.
|
void |
addRemoteRepository(String name,
String url,
String credentialId)
addRemoteRepository.
|
void |
addRemoteRepository(VCSCoordinates coordinates)
addRemoteRepository.
|
List<VCSRef> |
getBranches()
getBranches.
|
List<VCSRef> |
getReferences()
getReferences.
|
List<VCSCoordinates> |
getRemoteRepositories()
Getter for the field
remoteRepositories . |
List<VCSRef> |
getTags()
getTags.
|
VCSRepository.Type |
getType()
Getter for the field
type . |
void |
setRemoteRepositories(List<VCSCoordinates> coordinatesList)
Setter for the field
remoteRepositories . |
void |
setType(VCSRepository.Type type)
Setter for the field
type . |
String |
toString()
Returns a string representation of the object.
|
public VCSRepository()
Constructor for VCSRepository.
public VCSRepository(@NotNull String name)
Constructor for VCSRepository.
name
- a String
object.public void addRemoteRepository(VCSCoordinates coordinates)
addRemoteRepository.
coordinates
- a VCSCoordinates
object.public void addRemoteRepository(String name, String url, String credentialId)
addRemoteRepository.
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())
toString
in class StorableObject
public VCSRepository.Type getType()
Getter for the field type
.
VCSRepository.Type
object.public void setType(@NotNull VCSRepository.Type type)
Setter for the field type
.
type
- a VCSRepository.Type
object.public List<VCSCoordinates> getRemoteRepositories()
Getter for the field remoteRepositories
.
List
object.public void setRemoteRepositories(List<VCSCoordinates> coordinatesList)
Setter for the field remoteRepositories
.
coordinatesList
- a List
object.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.