Package org.apache.maven.settings.crypto
Interface SettingsDecryptionResult
-
public interface SettingsDecryptionResult
Collects the output of the settings decrypter.- Author:
- Benjamin Bentmann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SettingsProblem>
getProblems()
Gets the problems that were encountered during the settings decryption.List<Proxy>
getProxies()
Gets the decrypted proxies.Proxy
getProxy()
Gets the decrypted proxy.Server
getServer()
Gets the decrypted server.List<Server>
getServers()
Gets the decrypted servers.
-
-
-
Method Detail
-
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
List<Server> 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
List<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
.
-
-