Class ArtifactRepositoryPolicy
java.lang.Object
org.apache.maven.artifact.repository.ArtifactRepositoryPolicy
Describes a set of policies for a repository to use under certain conditions.
- Author:
- Brett Porter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionArtifactRepositoryPolicy
(boolean enabled, String updatePolicy, String checksumPolicy) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkOutOfDate
(Date lastModified) boolean
void
merge
(ArtifactRepositoryPolicy policy) void
setChecksumPolicy
(String checksumPolicy) void
setEnabled
(boolean enabled) void
setUpdatePolicy
(String updatePolicy) toString()
-
Field Details
-
UPDATE_POLICY_NEVER
- See Also:
-
UPDATE_POLICY_ALWAYS
- See Also:
-
UPDATE_POLICY_DAILY
- See Also:
-
UPDATE_POLICY_INTERVAL
- See Also:
-
CHECKSUM_POLICY_FAIL
- See Also:
-
CHECKSUM_POLICY_WARN
- See Also:
-
CHECKSUM_POLICY_IGNORE
- See Also:
-
-
Constructor Details
-
ArtifactRepositoryPolicy
public ArtifactRepositoryPolicy() -
ArtifactRepositoryPolicy
-
ArtifactRepositoryPolicy
-
-
Method Details