Package org.jenkinsci.plugins.gitclient
Interface PushCommand
-
- All Superinterfaces:
GitCommand
public interface PushCommand extends GitCommand
PushCommand interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PushCommandforce()Deprecated.favourforce(boolean)PushCommandforce(boolean force)force.PushCommandref(String refspec)ref.PushCommandtags(boolean tags)tags.PushCommandtimeout(Integer timeout)timeout.PushCommandto(org.eclipse.jgit.transport.URIish remote)to.-
Methods inherited from interface org.jenkinsci.plugins.gitclient.GitCommand
execute
-
-
-
-
Method Detail
-
to
PushCommand to(org.eclipse.jgit.transport.URIish remote)
to.- Parameters:
remote- aURIishobject.- Returns:
- a
PushCommandobject.
-
ref
PushCommand ref(String refspec)
ref.- Parameters:
refspec- aStringobject.- Returns:
- a
PushCommandobject.
-
force
@Deprecated PushCommand force()
Deprecated.favourforce(boolean)force.- Returns:
- a
PushCommandobject.
-
force
PushCommand force(boolean force)
force.- Parameters:
force-trueif the push should be forced- Returns:
- a
PushCommandobject. - Since:
- 2.5.0
-
tags
PushCommand tags(boolean tags)
tags.- Parameters:
tags- if true, tags will be included in the push, otherwise they are not pushed- Returns:
- a
PushCommandobject.
-
timeout
PushCommand timeout(Integer timeout)
timeout.- Parameters:
timeout- aIntegerobject.- Returns:
- a
PushCommandobject.
-
-