Uses of Class
org.apache.maven.api.model.RepositoryPolicy
-
Uses of RepositoryPolicy in org.apache.maven.api.model
Modifier and TypeMethodDescriptionRepositoryPolicy.Builder.build()
Repository.getReleases()
How to handle downloading of releases from this repository.Repository.getSnapshots()
How to handle downloading of snapshots from this repository.static 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
(String 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.DeploymentRepository.Builder.releases
(RepositoryPolicy releases) Repository.Builder.releases
(RepositoryPolicy releases) DeploymentRepository.Builder.snapshots
(RepositoryPolicy snapshots) Repository.Builder.snapshots
(RepositoryPolicy snapshots) DeploymentRepository.withReleases
(RepositoryPolicy releases) Creates a newDeploymentRepository
instance using the specified releases.Repository.withReleases
(RepositoryPolicy releases) Creates a newRepository
instance using the specified releases.DeploymentRepository.withSnapshots
(RepositoryPolicy snapshots) Creates a newDeploymentRepository
instance using the specified snapshots.Repository.withSnapshots
(RepositoryPolicy snapshots) Creates a newRepository
instance using the specified snapshots.