@Operation('fetch') class FetchOp extends java.lang.Object
Fetch changes from remotes.
| Modifiers | Name | Description |
|---|---|---|
enum |
FetchOp.TagMode |
| Type | Name and description |
|---|---|
boolean |
prunetrue if branches removed by the remote should be
removed locally. |
java.util.List |
refSpecsList of refspecs to fetch. |
java.lang.String |
remoteWhich remote should be fetched. |
FetchOp.TagMode |
tagModeHow should tags be handled. |
| Constructor and description |
|---|
FetchOp
(Repository repo) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Void |
call() |
|
void |
setTagMode(java.lang.String mode)Provides a string conversion to the enums. |
| 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() |
true if branches removed by the remote should be
removed locally.
List of refspecs to fetch.
Which remote should be fetched.
How should tags be handled.
Groovy Documentation