Package org.apache.maven.api.settings
Class Repository.Builder
java.lang.Object
org.apache.maven.api.settings.TrackableBase.Builder
org.apache.maven.api.settings.IdentifiableBase.Builder
org.apache.maven.api.settings.RepositoryBase.Builder
org.apache.maven.api.settings.Repository.Builder
- Enclosing class:
- Repository
Builder class used to create Repository instances.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(boolean withDefaults) protected
Builder
(Repository base, boolean forceCopy) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
importedFrom
(InputLocation importedFrom) location
(Object key, InputLocation location) releases
(RepositoryPolicy releases) snapshots
(RepositoryPolicy snapshots)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
id
- Overrides:
id
in classRepositoryBase.Builder
-
name
- Overrides:
name
in classRepositoryBase.Builder
-
url
- Overrides:
url
in classRepositoryBase.Builder
-
layout
- Overrides:
layout
in classRepositoryBase.Builder
-
releases
-
snapshots
-
location
- Overrides:
location
in classRepositoryBase.Builder
-
importedFrom
- Overrides:
importedFrom
in classRepositoryBase.Builder
-
build
- Overrides:
build
in classRepositoryBase.Builder
-