Class Settings

java.lang.Object
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.Settings
All Implemented Interfaces:
Serializable, Cloneable

@Generated public class Settings extends TrackableBase implements Serializable, Cloneable
See Also:
  • Constructor Details

    • Settings

      public Settings()
    • Settings

      public Settings(Settings delegate)
  • Method Details

    • clone

      public Settings clone()
      Overrides:
      clone in class TrackableBase
    • getDelegate

      public Settings getDelegate()
      Overrides:
      getDelegate in class TrackableBase
    • getModelEncoding

      public String getModelEncoding()
    • getLocalRepository

      public String getLocalRepository()
    • setLocalRepository

      public void setLocalRepository(String localRepository)
    • isInteractiveMode

      public boolean isInteractiveMode()
    • setInteractiveMode

      public void setInteractiveMode(boolean interactiveMode)
    • isUsePluginRegistry

      public boolean isUsePluginRegistry()
    • setUsePluginRegistry

      public void setUsePluginRegistry(boolean usePluginRegistry)
    • isOffline

      public boolean isOffline()
    • setOffline

      public void setOffline(boolean offline)
    • getProxies

      @Nonnull public List<Proxy> getProxies()
    • setProxies

      public void setProxies(List<Proxy> proxies)
    • addProxy

      public void addProxy(Proxy proxy)
    • getServers

      @Nonnull public List<Server> getServers()
    • setServers

      public void setServers(List<Server> servers)
    • addServer

      public void addServer(Server server)
    • getMirrors

      @Nonnull public List<Mirror> getMirrors()
    • setMirrors

      public void setMirrors(List<Mirror> mirrors)
    • addMirror

      public void addMirror(Mirror mirror)
    • getProfiles

      @Nonnull public List<Profile> getProfiles()
    • setProfiles

      public void setProfiles(List<Profile> profiles)
    • addProfile

      public void addProfile(Profile profile)
    • getActiveProfiles

      @Nonnull public List<String> getActiveProfiles()
    • setActiveProfiles

      public void setActiveProfiles(List<String> activeProfiles)
    • addActiveProfile

      public void addActiveProfile(String activeProfile)
    • getPluginGroups

      @Nonnull public List<String> getPluginGroups()
    • setPluginGroups

      public void setPluginGroups(List<String> pluginGroups)
    • addPluginGroup

      public void addPluginGroup(String pluginGroup)
    • settingsToApiV4

      public static List<Settings> settingsToApiV4(List<Settings> list)
    • settingsToApiV3

      public static List<Settings> settingsToApiV3(List<Settings> list)
    • getInteractiveMode

      public Boolean getInteractiveMode()
    • flushActiveProxy

      public void flushActiveProxy()
      Reset the activeProxy field to null
    • getActiveProxy

      public Proxy getActiveProxy()
      Returns:
      the first active proxy
    • getServer

      public Server getServer(String serverId)
    • getMirrorOf

      @Deprecated public Mirror getMirrorOf(String repositoryId)
      Deprecated.
    • flushProfileMap

      public void flushProfileMap()
      Reset the profileMap field to null
    • getProfilesAsMap

      public Map<String,Profile> getProfilesAsMap()
      Returns:
      a Map of profiles field with Profile#getId() as key
      See Also: