Package org.apache.maven.settings.crypto
Interface SettingsDecryptionResult
public interface SettingsDecryptionResult
Collects the output of the settings decrypter.
-
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.
-
Method Details
-
getServer
Server getServer()Gets the decrypted server. This is a convenience method to retrieve the first element fromgetServers()
.- Returns:
- The decrypted server or
null
.
-
getServers
Gets the decrypted servers.- Returns:
- The decrypted server, can be empty but never
null
.
-
getProxy
Proxy getProxy()Gets the decrypted proxy. This is a convenience method to retrieve the first element fromgetProxies()
.- Returns:
- The decrypted proxy or
null
.
-
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
.
-