public class PushCommandParameters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PushCommandParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,String> |
getEnvironment() |
Optional<String> |
getPassword() |
Optional<File> |
getPrivateKey() |
Set<String> |
getRefspecs() |
String |
getRemoteUrl() |
Optional<String> |
getUsername() |
int |
hashCode() |
boolean |
isAnonymous() |
boolean |
isForce() |
boolean |
isIncludePrivateRefs()
If an explicit refspec is set then this setting is ignored.
|
boolean |
isPrune() |
String |
toString() |
@Nonnull public Map<String,String> getEnvironment()
@Nonnull public Optional<String> getPassword()
@Nonnull public Optional<File> getPrivateKey()
@Nonnull public Set<String> getRefspecs()
@Nonnull public Optional<String> getUsername()
public boolean isAnonymous()
falsepublic boolean isForce()
true when remote refs should be forced to update, false otherwise. If not provided,
defaults to falsepublic boolean isIncludePrivateRefs()
true if private refs (outside refs/heads and refs/tags) should be included in the pushpublic boolean isPrune()
true when remote branches and tags should be deleted where the local branch or tag has been deleted.
If not provided, defaults to falseCopyright © 2023 Atlassian. All rights reserved.