Package com.mooltiverse.oss.nyx.entities
Class GitRemoteConfiguration
java.lang.Object
com.mooltiverse.oss.nyx.entities.GitRemoteConfiguration
This object models the fields used to configure the remote Git repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GitRemoteConfiguration(AuthenticationMethod authenticationMethod, String user, String password, String privateKey, String passphrase) Standard constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the authentication method.Returns the passphrase for the private key.Returns the remote password.Returns the private key.getUser()Returns the remote user name.voidsetAuthenticationMethod(AuthenticationMethod authenticationMethod) Sets the authentication method.voidsetPassphrase(String passphrase) Sets the passphrase for the private key.voidsetPassword(String password) Sets the remote password.voidsetPrivateKey(String privateKey) Sets the private key.voidSets the remote user name.
-
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
Returns the authentication method.- Returns:
- the authentication method.
-
setAuthenticationMethod
Sets the authentication method.- Parameters:
authenticationMethod- the authentication method.
-
getUser
Returns the remote user name.- Returns:
- the remote user name.
-
setUser
Sets the remote user name.- Parameters:
user- the remote user name.
-
getPassword
Returns the remote password.- Returns:
- the remote password.
-
setPassword
Sets the remote password.- Parameters:
password- the remote password.
-
getPrivateKey
Returns the private key.- Returns:
- the private key.
-
setPrivateKey
Sets the private key.- Parameters:
privateKey- the private key.
-
getPassphrase
Returns the passphrase for the private key.- Returns:
- the passphrase for the private key.
-
setPassphrase
Sets the passphrase for the private key.- Parameters:
passphrase- the passphrase for the private key.
-