public class MirrorSyncCommandParameters extends AbstractCommandParameters
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
MirrorSyncCommandParameters.Builder  | 
NOT_BLANK| 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 | 
isIncludePrivateRefs()
If an explicit refspec is set then this setting is ignored. 
 | 
boolean | 
isPrune()  | 
boolean | 
isWithTags()
If using a refspec that includes tags this must be set to false or the fetch command will fail. 
 | 
String | 
toString()  | 
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlankpublic Map<String,String> getEnvironment()
@Nonnull public Optional<String> getPassword()
@Nonnull public Optional<String> getUsername()
@Nonnull public Optional<File> getPrivateKey()
@Nonnull public Set<String> getRefspecs()
public boolean isIncludePrivateRefs()
public boolean isPrune()
true when local branches and tags should be deleted where the upstream branch or tag has been deleted.public boolean isWithTags()
Copyright © 2019 Atlassian. All rights reserved.