Class GitRemoteConfiguration

java.lang.Object
com.mooltiverse.oss.nyx.entities.GitRemoteConfiguration

public class GitRemoteConfiguration extends Object
This object models the fields used to configure the remote Git repository.
  • Constructor Details

    • GitRemoteConfiguration

      public GitRemoteConfiguration()
      Default constructor.
    • GitRemoteConfiguration

      public GitRemoteConfiguration(AuthenticationMethod authenticationMethod, String user, String password, String privateKey, String passphrase)
      Standard constructor.
      Parameters:
      authenticationMethod - the authentication method.
      user - the remote user name.
      password - the remote password.
      privateKey - the private key.
      passphrase - the passphrase for the private key.
  • Method Details

    • getAuthenticationMethod

      public AuthenticationMethod getAuthenticationMethod()
      Returns the authentication method.
      Returns:
      the authentication method.
    • setAuthenticationMethod

      public void setAuthenticationMethod(AuthenticationMethod authenticationMethod)
      Sets the authentication method.
      Parameters:
      authenticationMethod - the authentication method.
    • getUser

      public String getUser()
      Returns the remote user name.
      Returns:
      the remote user name.
    • setUser

      public void setUser(String user)
      Sets the remote user name.
      Parameters:
      user - the remote user name.
    • getPassword

      public String getPassword()
      Returns the remote password.
      Returns:
      the remote password.
    • setPassword

      public void setPassword(String password)
      Sets the remote password.
      Parameters:
      password - the remote password.
    • getPrivateKey

      public String getPrivateKey()
      Returns the private key.
      Returns:
      the private key.
    • setPrivateKey

      public void setPrivateKey(String privateKey)
      Sets the private key.
      Parameters:
      privateKey - the private key.
    • getPassphrase

      public String getPassphrase()
      Returns the passphrase for the private key.
      Returns:
      the passphrase for the private key.
    • setPassphrase

      public void setPassphrase(String passphrase)
      Sets the passphrase for the private key.
      Parameters:
      passphrase - the passphrase for the private key.