Package org.apache.maven.settings.crypto
Class DefaultSettingsDecryptionRequest
java.lang.Object
org.apache.maven.settings.crypto.DefaultSettingsDecryptionRequest
- All Implemented Interfaces:
SettingsDecryptionRequest
@Deprecated(since="4.0.0")
public class DefaultSettingsDecryptionRequest
extends Object
implements SettingsDecryptionRequest
Deprecated.
since 4.0.0
Collects parameters that control the decryption of settings.
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates an empty request.Deprecated.Creates a new request to decrypt the specified proxy.Deprecated.Creates a new request to decrypt the specified server.DefaultSettingsDecryptionRequest
(Settings settings) Deprecated.Creates a new request to decrypt the specified settings. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the proxies whose passwords should be decrypted.Deprecated.Gets the servers whose passwords should be decrypted.setProxies
(List<Proxy> proxies) Deprecated.Sets the proxies whose passwords should be decrypted.setServers
(List<Server> servers) Deprecated.Sets the servers whose passwords should be decrypted.
-
Constructor Details
-
DefaultSettingsDecryptionRequest
public DefaultSettingsDecryptionRequest()Deprecated.Creates an empty request. -
DefaultSettingsDecryptionRequest
Deprecated.Creates a new request to decrypt the specified settings.- Parameters:
settings
- The settings to decrypt, must not benull
.
-
DefaultSettingsDecryptionRequest
Deprecated.Creates a new request to decrypt the specified server.- Parameters:
server
- The server to decrypt, must not benull
.
-
DefaultSettingsDecryptionRequest
Deprecated.Creates a new request to decrypt the specified proxy.- Parameters:
proxy
- The proxy to decrypt, must not benull
.
-
-
Method Details
-
getServers
Deprecated.Description copied from interface:SettingsDecryptionRequest
Gets the servers whose passwords should be decrypted.- Specified by:
getServers
in interfaceSettingsDecryptionRequest
- Returns:
- The servers to decrypt, never
null
.
-
setServers
Deprecated.Description copied from interface:SettingsDecryptionRequest
Sets the servers whose passwords should be decrypted.- Specified by:
setServers
in interfaceSettingsDecryptionRequest
- Parameters:
servers
- The servers to decrypt, may benull
.- Returns:
- This request, never
null
.
-
getProxies
Deprecated.Description copied from interface:SettingsDecryptionRequest
Gets the proxies whose passwords should be decrypted.- Specified by:
getProxies
in interfaceSettingsDecryptionRequest
- Returns:
- The proxies to decrypt, never
null
.
-
setProxies
Deprecated.Description copied from interface:SettingsDecryptionRequest
Sets the proxies whose passwords should be decrypted.- Specified by:
setProxies
in interfaceSettingsDecryptionRequest
- Parameters:
proxies
- The proxies to decrypt, may benull
.- Returns:
- This request, never
null
.
-