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:SettingsDecryptionResult
Gets the decrypted server. This is a convenience method to retrieve the first element fromSettingsDecryptionResult.getServers()
.- Specified by:
getServer
in interfaceSettingsDecryptionResult
- Returns:
- The decrypted server or
null
.
-
getServers
Description copied from interface:SettingsDecryptionResult
Gets the decrypted servers.- Specified by:
getServers
in interfaceSettingsDecryptionResult
- Returns:
- The decrypted server, can be empty but never
null
.
-
getProxy
Description copied from interface:SettingsDecryptionResult
Gets the decrypted proxy. This is a convenience method to retrieve the first element fromSettingsDecryptionResult.getProxies()
.- Specified by:
getProxy
in interfaceSettingsDecryptionResult
- Returns:
- The decrypted proxy or
null
.
-
getProxies
Description copied from interface:SettingsDecryptionResult
Gets the decrypted proxies.- Specified by:
getProxies
in interfaceSettingsDecryptionResult
- Returns:
- The decrypted proxy, can be empty but never
null
.
-
getProblems
Description copied from interface:SettingsDecryptionResult
Gets the problems that were encountered during the settings decryption.- Specified by:
getProblems
in interfaceSettingsDecryptionResult
- Returns:
- The problems that were encountered during the decryption, can be empty but never
null
.
-