Class ArtifactRepositoryPolicy

java.lang.Object
org.apache.maven.artifact.repository.ArtifactRepositoryPolicy

@Deprecated public class ArtifactRepositoryPolicy extends Object
Deprecated.
Avoid use of this type, if you need access to local repository use repository system session instead.
Describes a set of policies for a repository to use under certain conditions.
  • Field Details

  • Constructor Details

    • ArtifactRepositoryPolicy

      public ArtifactRepositoryPolicy()
      Deprecated.
    • ArtifactRepositoryPolicy

      public ArtifactRepositoryPolicy(ArtifactRepositoryPolicy policy)
      Deprecated.
    • ArtifactRepositoryPolicy

      public ArtifactRepositoryPolicy(boolean enabled, String updatePolicy, String checksumPolicy)
      Deprecated.
  • Method Details

    • setEnabled

      public void setEnabled(boolean enabled)
      Deprecated.
    • setUpdatePolicy

      public void setUpdatePolicy(String updatePolicy)
      Deprecated.
    • setChecksumPolicy

      public void setChecksumPolicy(String checksumPolicy)
      Deprecated.
    • isEnabled

      public boolean isEnabled()
      Deprecated.
    • getUpdatePolicy

      public String getUpdatePolicy()
      Deprecated.
    • getChecksumPolicy

      public String getChecksumPolicy()
      Deprecated.
    • checkOutOfDate

      public boolean checkOutOfDate(Date lastModified)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • merge

      public void merge(ArtifactRepositoryPolicy policy)
      Deprecated.