Class RemoteRepository

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.maven.resolver.internal.ant.types.RemoteRepository
All Implemented Interfaces:
Cloneable, RemoteRepositoryContainer

public class RemoteRepository extends org.apache.tools.ant.types.DataType implements RemoteRepositoryContainer
  • Constructor Details

    • RemoteRepository

      public RemoteRepository()
  • Method Details

    • setProject

      public void setProject(org.apache.tools.ant.Project project)
      Overrides:
      setProject in class org.apache.tools.ant.ProjectComponent
    • getRef

      protected RemoteRepository getRef()
    • validate

      public void validate(org.apache.tools.ant.Task task)
      Specified by:
      validate in interface RemoteRepositoryContainer
    • setRefid

      public void setRefid(org.apache.tools.ant.types.Reference ref)
      Overrides:
      setRefid in class org.apache.tools.ant.types.DataType
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getReleasePolicy

      public RemoteRepository.Policy getReleasePolicy()
    • addReleases

      public void addReleases(RemoteRepository.Policy policy)
    • getSnapshotPolicy

      public RemoteRepository.Policy getSnapshotPolicy()
    • addSnapshots

      public void addSnapshots(RemoteRepository.Policy policy)
    • isReleases

      public boolean isReleases()
    • setReleases

      public void setReleases(boolean releases)
    • isSnapshots

      public boolean isSnapshots()
    • setSnapshots

      public void setSnapshots(boolean snapshots)
    • getUpdates

      public String getUpdates()
    • setUpdates

      public void setUpdates(String updates)
    • checkUpdates

      protected static void checkUpdates(String updates)
    • getChecksums

      public String getChecksums()
    • setChecksums

      public void setChecksums(String checksums)
    • checkChecksums

      protected static void checkChecksums(String checksums)
    • getAuthentication

      public Authentication getAuthentication()
    • addAuthentication

      public void addAuthentication(Authentication authentication)
    • setAuthRef

      public void setAuthRef(org.apache.tools.ant.types.Reference ref)
    • getRepositories

      public List<RemoteRepository> getRepositories()
      Specified by:
      getRepositories in interface RemoteRepositoryContainer