Package org.apache.maven.settings.crypto
Class DefaultSettingsDecryptionResult
java.lang.Object
org.apache.maven.settings.crypto.DefaultSettingsDecryptionResult
- All Implemented Interfaces:
SettingsDecryptionResult
@Deprecated(since="4.0.0")
class DefaultSettingsDecryptionResult
extends Object
implements SettingsDecryptionResult
Deprecated.
since 4.0.0
Collects the output of the settings decrypter.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSettingsDecryptionResult
(List<Server> servers, List<Proxy> proxies, List<SettingsProblem> problems) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the problems that were encountered during the settings decryption.Deprecated.Gets the decrypted proxies.getProxy()
Deprecated.Gets the decrypted proxy.Deprecated.Gets the decrypted server.Deprecated.Gets the decrypted servers.
-
Field Details
-
servers
Deprecated. -
proxies
Deprecated. -
problems
Deprecated.
-
-
Constructor Details
-
Method Details
-
getServer
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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
.
-