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.
Author:
Brett Porter
  • Field Details Link icon

  • Constructor Details Link icon

    • ArtifactRepositoryPolicy Link icon

      public ArtifactRepositoryPolicy()
      Deprecated.
    • ArtifactRepositoryPolicy Link icon

      public ArtifactRepositoryPolicy(ArtifactRepositoryPolicy policy)
      Deprecated.
    • ArtifactRepositoryPolicy Link icon

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

    • setEnabled Link icon

      public void setEnabled(boolean enabled)
      Deprecated.
    • setUpdatePolicy Link icon

      public void setUpdatePolicy(String updatePolicy)
      Deprecated.
    • setChecksumPolicy Link icon

      public void setChecksumPolicy(String checksumPolicy)
      Deprecated.
    • isEnabled Link icon

      public boolean isEnabled()
      Deprecated.
    • getUpdatePolicy Link icon

      public String getUpdatePolicy()
      Deprecated.
    • getChecksumPolicy Link icon

      public String getChecksumPolicy()
      Deprecated.
    • checkOutOfDate Link icon

      public boolean checkOutOfDate(Date lastModified)
      Deprecated.
    • toString Link icon

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

      public void merge(ArtifactRepositoryPolicy policy)
      Deprecated.