org.apache.maven.settings.crypto
Interface SettingsDecryptionResult


public interface SettingsDecryptionResult

Collects the output of the settings decrypter.

Author:
Benjamin Bentmann

Method Summary
 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 from getServers().

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 from getProxies().

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.


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.