Uses of Class
org.apache.maven.api.settings.RepositoryPolicy
Package
Description
-
Uses of RepositoryPolicy in org.apache.maven.api.settings
Modifier and TypeMethodDescriptionRepositoryPolicy.Builder.build()
Repository.getReleases()
How to handle downloading of releases from this repositoryRepository.getSnapshots()
How to handle downloading of snapshots from this repositorystatic RepositoryPolicy
RepositoryPolicy.newInstance()
Creates a newRepositoryPolicy
instance.static RepositoryPolicy
RepositoryPolicy.newInstance
(boolean withDefaults) Creates a newRepositoryPolicy
instance using default values or not.RepositoryPolicy.withChecksumPolicy
(String checksumPolicy) Creates a newRepositoryPolicy
instance using the specified checksumPolicy.RepositoryPolicy.withEnabled
(boolean enabled) Creates a newRepositoryPolicy
instance using the specified enabled.RepositoryPolicy.withUpdatePolicy
(String updatePolicy) Creates a newRepositoryPolicy
instance using the specified updatePolicy.Modifier and TypeMethodDescriptionstatic RepositoryPolicy.Builder
RepositoryPolicy.newBuilder
(RepositoryPolicy from) Creates a newRepositoryPolicy
builder instance using the specified object as a basis.static RepositoryPolicy.Builder
RepositoryPolicy.newBuilder
(RepositoryPolicy from, boolean forceCopy) Creates a newRepositoryPolicy
builder instance using the specified object as a basis.Repository.Builder.releases
(RepositoryPolicy releases) Repository.Builder.snapshots
(RepositoryPolicy snapshots) Repository.withReleases
(RepositoryPolicy releases) Creates a newRepository
instance using the specified releases.Repository.withSnapshots
(RepositoryPolicy snapshots) Creates a newRepository
instance using the specified snapshots. -
Uses of RepositoryPolicy in org.apache.maven.settings
Modifier and TypeMethodDescriptionstatic List<RepositoryPolicy>
RepositoryPolicy.repositoryPolicyToApiV4
(List<RepositoryPolicy> list) Modifier and TypeMethodDescriptionstatic List<RepositoryPolicy>
RepositoryPolicy.repositoryPolicyToApiV3
(List<RepositoryPolicy> list) ModifierConstructorDescriptionRepositoryPolicy
(RepositoryPolicy delegate) RepositoryPolicy
(RepositoryPolicy delegate, BaseObject parent) -
Uses of RepositoryPolicy in org.apache.maven.settings.v4
Modifier and TypeMethodDescriptionprotected RepositoryPolicy
SettingsMerger.mergeRepositoryPolicy
(RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
SettingsTransformer.transformRepositoryPolicy
(RepositoryPolicy target) Modifier and TypeMethodDescriptionprotected SettingsMerger.KeyComputer<RepositoryPolicy>
SettingsMerger.getRepositoryPolicyKey()
Modifier and TypeMethodDescriptionprotected void
SettingsMerger.mergeRepositoryPolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
SettingsMerger.mergeRepositoryPolicy
(RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeRepositoryPolicy_ChecksumPolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeRepositoryPolicy_Enabled
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeRepositoryPolicy_UpdatePolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
SettingsTransformer.transformRepositoryPolicy
(RepositoryPolicy target) protected void
SettingsTransformer.transformRepositoryPolicy_ChecksumPolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target) protected void
SettingsTransformer.transformRepositoryPolicy_Enabled
(RepositoryPolicy.Builder builder, RepositoryPolicy target) protected void
SettingsTransformer.transformRepositoryPolicy_UpdatePolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target)