Modifier and Type | Method and Description |
---|---|
Mirror |
Mirror.Builder.build() |
Mirror |
Settings.getMirrorOf(String repositoryId)
Deprecated.
|
static Mirror |
Mirror.newInstance()
Creates a new
Mirror instance. |
static Mirror |
Mirror.newInstance(boolean withDefaults)
Creates a new
Mirror instance using default values or not. |
Mirror |
Mirror.withBlocked(boolean blocked)
Creates a new
Mirror instance using the specified blocked. |
Mirror |
Mirror.withId(String id)
Creates a new
Mirror instance using the specified id. |
Mirror |
Mirror.withLayout(String layout)
Creates a new
Mirror instance using the specified layout. |
Mirror |
Mirror.withMirrorOf(String mirrorOf)
Creates a new
Mirror instance using the specified mirrorOf. |
Mirror |
Mirror.withMirrorOfLayouts(String mirrorOfLayouts)
Creates a new
Mirror instance using the specified mirrorOfLayouts. |
Mirror |
Mirror.withName(String name)
Creates a new
Mirror instance using the specified name. |
Mirror |
Mirror.withUrl(String url)
Creates a new
Mirror instance using the specified url. |
Modifier and Type | Method and Description |
---|---|
List<Mirror> |
Settings.getMirrors()
Configuration of download mirrors for repositories.
|
Modifier and Type | Method and Description |
---|---|
static Mirror.Builder |
Mirror.newBuilder(Mirror from)
Creates a new
Mirror builder instance using the specified object as a basis. |
static Mirror.Builder |
Mirror.newBuilder(Mirror from,
boolean forceCopy)
Creates a new
Mirror builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Settings.Builder |
Settings.Builder.mirrors(Collection<Mirror> mirrors) |
Settings |
Settings.withMirrors(Collection<Mirror> mirrors)
Creates a new
Settings instance using the specified mirrors. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.