Package org.apache.maven.settings.crypto
Class DefaultSettingsDecryptionResult
java.lang.Object
org.apache.maven.settings.crypto.DefaultSettingsDecryptionResult
- All Implemented Interfaces:
SettingsDecryptionResult
Collects the output of the settings decrypter.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSettingsDecryptionResult(List<Server> servers, List<Proxy> proxies, List<SettingsProblem> problems) -
Method Summary
Modifier and TypeMethodDescriptionGets the problems that were encountered during the settings decryption.Gets the decrypted proxies.getProxy()Gets the decrypted proxy.Gets the decrypted server.Gets the decrypted servers.
-
Field Details
-
servers
-
proxies
-
problems
-
-
Constructor Details
-
DefaultSettingsDecryptionResult
-
-
Method Details
-
getServer
Description copied from interface:SettingsDecryptionResultGets the decrypted server. This is a convenience method to retrieve the first element fromSettingsDecryptionResult.getServers().- Specified by:
getServerin interfaceSettingsDecryptionResult- Returns:
- The decrypted server or
null.
-
getServers
Description copied from interface:SettingsDecryptionResultGets the decrypted servers.- Specified by:
getServersin interfaceSettingsDecryptionResult- Returns:
- The decrypted server, can be empty but never
null.
-
getProxy
Description copied from interface:SettingsDecryptionResultGets the decrypted proxy. This is a convenience method to retrieve the first element fromSettingsDecryptionResult.getProxies().- Specified by:
getProxyin interfaceSettingsDecryptionResult- Returns:
- The decrypted proxy or
null.
-
getProxies
Description copied from interface:SettingsDecryptionResultGets the decrypted proxies.- Specified by:
getProxiesin interfaceSettingsDecryptionResult- Returns:
- The decrypted proxy, can be empty but never
null.
-
getProblems
Description copied from interface:SettingsDecryptionResultGets the problems that were encountered during the settings decryption.- Specified by:
getProblemsin interfaceSettingsDecryptionResult- Returns:
- The problems that were encountered during the decryption, can be empty but never
null.
-