public class

MirrorSyncCommandParameters

extends AbstractCommandParameters
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.scm.AbstractCommandParameters
       ↳ com.atlassian.bitbucket.scm.mirror.MirrorSyncCommandParameters

Summary

Nested Classes
class MirrorSyncCommandParameters.Builder  
[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Methods
@Nonnull Optional<String> getPassword()
@Nonnull Optional<File> getPrivateKey()
@Nonnull String getRemoteUrl()
@Nonnull Optional<String> getUsername()
boolean isIncludePrivateRefs()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Methods

@Nonnull public Optional<String> getPassword ()

Returns
  • the password to provide for authentication

@Nonnull public Optional<File> getPrivateKey ()

Returns
  • the SSH private key to use for authentication

@Nonnull public String getRemoteUrl ()

Returns
  • the URL to fetch from

@Nonnull public Optional<String> getUsername ()

Returns
  • the username to provide for authentication

public boolean isIncludePrivateRefs ()

Returns
  • true if private refs (outside refs/heads and refs/tags) should be included in the fetch