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
      java.util.List<SettingsProblem> getProblems()
      Gets the problems that were encountered during the settings decryption.
      java.util.List<org.apache.maven.settings.Proxy> getProxies()
      Gets the decrypted proxies.
      org.apache.maven.settings.Proxy getProxy()
      Gets the decrypted proxy.
      org.apache.maven.settings.Server getServer()
      Gets the decrypted server.
      java.util.List<org.apache.maven.settings.Server> getServers()
      Gets the decrypted servers.
    • Method Detail

      • getServer

        org.apache.maven.settings.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

        java.util.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 from getProxies().
        Returns:
        The decrypted proxy or null.
      • getProxies

        java.util.List<org.apache.maven.settings.Proxy> getProxies()
        Gets the decrypted proxies.
        Returns:
        The decrypted proxy, can be empty but never null.
      • getProblems

        java.util.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.