The GitRepository class is the value holder object for named Git domain objects.
| Constructor and description |
|---|
GitRepository
(java.lang.String name)Required to construct by name. |
| Type | Name and description |
|---|---|
void |
branch(java.lang.String aBranch)Short hand method to set the Git branch to use. |
void |
directory(java.io.File aDirectory)Short hand method to set the directory. |
void |
directory(java.lang.String aDirectory)Short hand method to set the directory name. |
void |
password(java.lang.String aPassword)Short hand method to set the password. |
void |
singleBranch(boolean singleBranch)Shorthand method to set the single branch only option. |
void |
url(java.lang.String aUrl)Short hand method to set the Git URL. |
void |
username(java.lang.String aUsername)Short hand method to set the username. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Required to construct by name.
name - the repo nameShort hand method to set the Git branch to use.
aBranch - the Git branch nameShort hand method to set the directory.
aDirectory - a local directoryShort hand method to set the directory name.
aDirectory - a local directoryShort hand method to set the password.
aDirectory - a local directoryShorthand method to set the single branch only option.
singleBranch - only clone the single branchShort hand method to set the Git URL.
aUrl - the Git URLShort hand method to set the username.
aUsername - the Git usernameGroovy Documentation