Package org.apache.maven.settings.crypto
Class DefaultSettingsDecryptionRequest
java.lang.Object
org.apache.maven.settings.crypto.DefaultSettingsDecryptionRequest
- All Implemented Interfaces:
- SettingsDecryptionRequest
Collects parameters that control the decryption of settings.
- Author:
- Benjamin Bentmann
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an empty request.Creates a new request to decrypt the specified proxy.Creates a new request to decrypt the specified server.DefaultSettingsDecryptionRequest(Settings settings) Creates a new request to decrypt the specified settings.
- 
Method SummaryModifier and TypeMethodDescriptionGets the proxies whose passwords should be decrypted.Gets the servers whose passwords should be decrypted.setProxies(List<Proxy> proxies) Sets the proxies whose passwords should be decrypted.setServers(List<Server> servers) Sets the servers whose passwords should be decrypted.
- 
Constructor Details- 
DefaultSettingsDecryptionRequestpublic DefaultSettingsDecryptionRequest()Creates an empty request.
- 
DefaultSettingsDecryptionRequestCreates a new request to decrypt the specified settings.- Parameters:
- settings- The settings to decrypt, must not be- null.
 
- 
DefaultSettingsDecryptionRequestCreates a new request to decrypt the specified server.- Parameters:
- server- The server to decrypt, must not be- null.
 
- 
DefaultSettingsDecryptionRequestCreates a new request to decrypt the specified proxy.- Parameters:
- proxy- The proxy to decrypt, must not be- null.
 
 
- 
- 
Method Details- 
getServersDescription copied from interface:SettingsDecryptionRequestGets the servers whose passwords should be decrypted.- Specified by:
- getServersin interface- SettingsDecryptionRequest
- Returns:
- The servers to decrypt, never null.
 
- 
setServersDescription copied from interface:SettingsDecryptionRequestSets the servers whose passwords should be decrypted.- Specified by:
- setServersin interface- SettingsDecryptionRequest
- Parameters:
- servers- The servers to decrypt, may be- null.
- Returns:
- This request, never null.
 
- 
getProxiesDescription copied from interface:SettingsDecryptionRequestGets the proxies whose passwords should be decrypted.- Specified by:
- getProxiesin interface- SettingsDecryptionRequest
- Returns:
- The proxies to decrypt, never null.
 
- 
setProxiesDescription copied from interface:SettingsDecryptionRequestSets the proxies whose passwords should be decrypted.- Specified by:
- setProxiesin interface- SettingsDecryptionRequest
- Parameters:
- proxies- The proxies to decrypt, may be- null.
- Returns:
- This request, never null.
 
 
-