Package org.apache.maven.settings.crypto
Interface SettingsDecryptionResult
public interface SettingsDecryptionResult
Collects the output of the settings decrypter.
- Author:
- Benjamin Bentmann
-
Method Summary
Modifier and TypeMethodDescriptionGets the problems that were encountered during the settings decryption.List
<org.apache.maven.settings.Proxy> Gets the decrypted proxies.org.apache.maven.settings.Proxy
getProxy()
Gets the decrypted proxy.org.apache.maven.settings.Server
Gets the decrypted server.List
<org.apache.maven.settings.Server> Gets the decrypted servers.
-
Method Details
-
getServer
org.apache.maven.settings.Server getServer()Gets the decrypted server. This is a convenience method to retrieve the first element fromgetServers()
.- Returns:
- The decrypted server or
null
.
-
getServers
List<org.apache.maven.settings.Server> getServers()Gets the decrypted servers.- Returns:
- The decrypted server, can be empty but never
null
.
-
getProxy
org.apache.maven.settings.Proxy getProxy()Gets the decrypted proxy. This is a convenience method to retrieve the first element fromgetProxies()
.- Returns:
- The decrypted proxy or
null
.
-
getProxies
List<org.apache.maven.settings.Proxy> getProxies()Gets the decrypted proxies.- Returns:
- The decrypted proxy, can be empty but never
null
.
-
getProblems
List<SettingsProblem> getProblems()Gets the problems that were encountered during the settings decryption.- Returns:
- The problems that were encountered during the decryption, can be empty but never
null
.
-