Describable
, VersionControlSpec
public interface GitVersionControlSpec extends VersionControlSpec
Modifier and Type | Method | Description |
---|---|---|
java.net.URI |
getUrl() |
The URL for the repository in the specification.
|
void |
setUrl(java.lang.String url) |
Sets the URL of the repository.
|
void |
setUrl(java.net.URI url) |
Sets the URL of the repository.
|
getDisplayName
getRepoName, getRootDir, getUniqueId, plugins, setRootDir
java.net.URI getUrl()
Note: The return value is a URI
to avoid exposing the
full contract of URL
clients of this interface.
Specifically, URL
extends URI
to add network
operations which are both unsuited for simple data specification and
allocate additional memory.
void setUrl(java.net.URI url)
void setUrl(java.lang.String url)